autonity / docs.autonity.org

Documentation for the Autonity Go Client (AGC)
https://docs.autonity.org
2 stars 5 forks source link

update styling to break code tag when limit reached #192

Open dweng0 opened 4 months ago

dweng0 commented 4 months ago

Changelog

Added overflow-wrap to the content container and all children, this ensures that all text within elements of the .content class, including nested elements. break on the boundary of the container.

Because tables will render based on their content size (and "break" out of the contaier), i've applied word-break: break-all to the cell level and their children. This is used to ensure that even words or strings without breaks can wrap within the confines of table cells, thus maintaining the integrity and layout of table structures.

Rendered Test case

image

Styling updates, fixes this issue