by Aris » 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 forums.mozillazine.org:
Code: Select all
img,
.codebox {
max-width: calc( 100vw - 400px );
}
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 forums.mozillazine.org:
[code]img,
.codebox {
max-width: calc( 100vw - 400px );
}[/code]