# Grootte van code verandert niet als je tekstgrootte in voorkeuren wijzigt

**URL:** https://meta.discourse.org/t/size-of-code-doesnt-change-when-you-change-the-text-size-in-preferences/371996
**Category:** UX
**Created:** [27 juni 2025 om 13:46 UTC](https://meta.discourse.org/t/size-of-code-doesnt-change-when-you-change-the-text-size-in-preferences/371996 "2025-06-27T13:46:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [27 juni 2025 om 13:46 UTC](https://meta.discourse.org/t/size-of-code-doesnt-change-when-you-change-the-text-size-in-preferences/371996/1 "2025-06-27T13:46:10Z")

</div>

Screenshots taken once with the text size set to largest and once to smallest.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/b/3/9b399587a18c57384a8f6e01007e20e3a2d31d85.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/c/8/e/c8e2f96770201ce161b41f7e8cc670fd45a842b4.png)

As you can see, `hide_texts` has always the same size.

It would be great if it could dynamically adjust with the text around it instead of always being 14px.

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/5/2/e524edba085b7760c975d3d8d5cfba967c1dfdbf.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [7 augustus 2025 om 09:55 UTC](https://meta.discourse.org/t/size-of-code-doesnt-change-when-you-change-the-text-size-in-preferences/371996/2 "2025-08-07T09:55:08Z")

</div>

I noticed that the fixed font size of code is also a problem on category descriptions shown next to the category icon.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/c/d/9cd559831e1820c31d08f985b7c2c1ed125d9924.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/d/a/1/da18282ab09db574813c3b0c7c585c84a059795a.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [8 december 2025 om 20:24 UTC](https://meta.discourse.org/t/size-of-code-doesnt-change-when-you-change-the-text-size-in-preferences/371996/3 "2025-12-08T20:24:54Z")

</div>

I don’t remember in which topic, but somewhere in a #Documentation topic I recently noticed that this also affects `<small>`.

This `code` isn’t small

```plaintext
<small> This `code` isn't small</small>
```

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [9 december 2025 om 12:45 UTC](https://meta.discourse.org/t/size-of-code-doesnt-change-when-you-change-the-text-size-in-preferences/371996/5 "2025-12-09T12:45:49Z")

</div>

This was an intentional change fixing other issues:

[https://github.com/discourse/discourse/pull/30936](https://github.com/discourse/discourse/pull/30936)

Maybe using REMs is the inbetween way

Example with large text

 ![CleanShot 2025-12-09 at 13.37.30@2x](https://global.discourse-cdn.com/meta/original/4X/f/c/e/fcee45f6bc79c498d89cc76e1adf09353a19fe82.png)

And smallest text render right now

 ![CleanShot 2025-12-09 at 13.38.24@2x](https://global.discourse-cdn.com/meta/original/4X/7/7/d/77d29b5089400f794a9b3e42c53d4ad8e508b4d7.png)

But, the problem of code inside a `<small>` tag wont be fixed because that would actually need EMs to work, so that needs an exception.

Both are done here:

[https://github.com/discourse/discourse/pull/36559](https://github.com/discourse/discourse/pull/36559)
