Limit item/node width to prevent forum ui from breaking

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) :( :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o :^o [-X [-o< 8-[ [-( :-k ](*,) :-"
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Limit item/node width to prevent forum ui from breaking

Re: Limit item/node width to prevent forum ui from breaking

by Brummelchen » July 5th, 2018, 7:57 am

added, thank you

Limit item/node width to prevent forum ui from breaking

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 );
}

Top