# Reader mode unevenly applying font size to syntax highlighted code block

**URL:** https://meta.discourse.org/t/reader-mode-unevenly-applying-font-size-to-syntax-highlighted-code-block/361298
**Category:** Bug
**Tags:** reader-mode
**Created:** [April 10, 2025, 5:21pm UTC](https://meta.discourse.org/t/reader-mode-unevenly-applying-font-size-to-syntax-highlighted-code-block/361298 "2025-04-10T17:21:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alteras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alteras/32/179824_2.png) [@Alteras](https://meta.discourse.org/u/Alteras)
#### Post date: [April 10, 2025, 5:21pm UTC](https://meta.discourse.org/t/reader-mode-unevenly-applying-font-size-to-syntax-highlighted-code-block/361298/1 "2025-04-10T17:21:25Z")

</div>

**Priority/Severity** : very low

**Platform** : All

**Description** :

Reader mode font size mistakenly targeting syntax highlighted code blocks:

 ![The image shows an online coding platform with an article on integrating custom scripts featuring a code snippet and explanations on navigating and configuring settings, alongside a "similar elements" pop-up suggesting custom styles. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/4/7/3/473a045dd70795e61b3bfdf09fe27583c03466d4.png)

Highlighted text are increased to font-size: 16px, while unhighlighted text are left at the normal 14px.

**Reproducible steps** :

1. locate/create post with a syntax highlighted code block
2. enable reader mode

**Expected result** :  
The font size in the code block should be consistent, and there should be minimal content shift overall.
