RedditEnhancer icon indicating copy to clipboard operation
RedditEnhancer copied to clipboard

Compact view font sizes change when extension is enabled.

Open stephenju opened this issue 11 months ago • 3 comments

When the extension is enabled, it changes the font sizes used in the compact view. Card view doesn't seem to be affected.

Image

Left: enabled. Right: disabled.

stephenju avatar Mar 28 '25 14:03 stephenju

whoops I should've done more research... Looking into it as soon as I can.

In 1.16.0 we moved from using JavaScript to dynamically apply the CSS code for changing the font size to applying the CSS code directly, which cleans up the code. I chose the post title font size in Card view as the default failsafe...

In the meantime, if you tend to use Compact view you can set the font size manually in RE, I believe they are 16px?

bmndc avatar Mar 28 '25 14:03 bmndc

I forgot to mention that this happens without any customization in RE. Just merely enabled the extension. I ran into this issue when I use RE to lighten the visited post title more since Reddit default style is barely lighter than the normal title. It's not obvious to me at the time why changing color also changed the font size.

stephenju avatar Mar 28 '25 16:03 stephenju

yea yea, the CSS changes for font sizes being applied globally is intended and is also why we had to set default failsafe font sizes. Should be fixed soon, thanks for noticing.

bmndc avatar Mar 28 '25 17:03 bmndc