Limit item/node width to prevent forum ui from breaking

Talk about stuff specific to the site -- bugs, suggestions, and of course praise welcome.

User avatar
Posts: 3246
Joined: February 27th, 2011, 10:14 am

Post Posted July 5th, 2018, 6:53 am

This is just a suggestion, but a simple CSS addition to forums general/global CSS code could fix a major bug with too large images posted within image tags and with too wide code boxes, when using too long text strings.

Menus on the right and the posters info on the left require about 370-400px of width. Everything in between could be flexible and calculated from windows current width.

I use this in Stylus for
Code: Select all
.codebox {
  max-width: calc( 100vw - 400px );

Posts: 4616
Joined: March 19th, 2005, 10:51 am

Post Posted July 5th, 2018, 7:57 am

added, thank you

Return to MozillaZine Site Discussion

Who is online

Users browsing this forum: No registered users and 2 guests