odin-lang / odin-lang.org

http://odin-lang.org
19 stars 80 forks source link

Fix document width overflows caused by long links and tables #221

Closed thetarnav closed 1 week ago

thetarnav commented 1 week ago

fixes #195

from https://odin-lang.org/docs/overview:



from https://odin-lang.org/news/newsletter-2024-06:



The weird solution with td {width: 1%;} is required for the table to keep taking the whole space on decktop.

Other solution would be to use media queries to only apply table {display: block; overflow-x: auto;} on mobile

Kelimion commented 1 week ago

Inelegant, but that's par for the course with the web.