Arrrrggggggggghhhhhh! Max-width is actual 150em? May 06, 2022, 05:51:02 pm Ahem. Why, pray tell, is the CSS declaring max-width not set at 100%?If someone wants a width setting in admin that is not in percent, for the very obvious and sensible reason that it sets a maximum limit to overall content width regardless of device, then the way the code is at the moment their theme will stop being responsive ...... because ...... you have max-width set at 150em, which means that it will not adapt to device width.Congratulations. You have built in a non-responsive behaviour. Welcome to 1990.
Re: Arrrrggggggggghhhhhh! Max-width is actual 150em? Reply #1 – May 06, 2022, 07:06:41 pm Ummm ... I think that was your code from 1.0
Re: Arrrrggggggggghhhhhh! Max-width is actual 150em? Reply #2 – May 06, 2022, 07:12:49 pm Well it's stupid code anyway.
Re: Arrrrggggggggghhhhhh! Max-width is actual 150em? Reply #3 – May 06, 2022, 07:14:49 pm LOL ... I'll change it, actually is it needed at all, would that not be the default behavior?
Re: Arrrrggggggggghhhhhh! Max-width is actual 150em? Reply #4 – May 06, 2022, 07:20:12 pm No, it wouldn't be. If your width setting is actual width, that is a fixed amount. If you changed the forum width setting to be max-width instead, that would handle it automatically (it would just go straight to full width on a narrower device).But there's something to be said for having the max-width in the CSS, because it allows you set to something like max-width: 98%; if you want to keep a narrow margin on tablet/portrait or whatever, then going to 100% on a phone.
Re: Arrrrggggggggghhhhhh! Max-width is actual 150em? Reply #5 – May 06, 2022, 08:00:16 pm Understood ... The old comment on that 150em (which was 100em at one point back in 1.0) is /* Next limits maximum width on wide screens. Sized in em, since some people require larger text. For ease of reading, content really should not be too wide. */Just posting that for some historical context.