===
===
There's a bug in the implementation of the font size options: they're implemented by setting a percentage
font-size
on the selector *
, meaning that every child element is scaled by that amount, relative to its parent. So an element with 3 ancestors is rendered at [percentage] ^ (3 + 1), e.g. for 105% it would be ~121.55%; meanwhile, an element with 10 ancestors would be rendered at 105% ^ (10 + 1) ≈ 171.03%.To put it another way,
<span><span>abc</span></span>
is bigger than <span>abc</span>
, even if those span
elements have no styling info associated with them!This already looks a little off if you choose "130%" (the actual value used for this is
104%
, presumably because actually using 130%
would look horrendous). Worse, if you choose the maximum "400%" (actual value 120%
), elements closer to the root are rendered at a reasonable but slightly-increased size, whereas elements further from the root are rendered at a GIGANTIC size. Here's an example:=== ===
The main heading, "Panel de Control de Usuario", is comparatively tiny, whereas the option "Los usuarios pueden contactarme por email" is so massive it's pushed the "Sí" and "No" options into the page margin.
===
===
I couldn't find a publicly-accessible repo, so I forked it and made changes (against 3.2.4-RC2) here: https://github.com/lionel-rowe/phpbb-la ... 586820c6cb
This fixes the bug and gives consistent scaling across all of the UI. Here's 400% after the change:
===