Skip to content

Font size of Text Display inside Container does not scale with the Chat Font Scaling setting #7504

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Open
TheKodeToad opened this issue Apr 23, 2025 · 0 comments
Labels
bug message components click click click click click click click synced Synced to internal tracker

Comments

@TheKodeToad
Copy link

Description

I was directed here by a moderator in Discord Developers. Sorry if this is the wrong place to report the issue - but I hope you can see the importance of fixing this accessibility issue.

If you adjust the Chat Font Scaling (inside User Settings > Apperance), Text Display components inside containers does not scale proportionally as you would expect.

Steps to Reproduce

Send a message with the following payload

[
    {
        "type": 17,
        "components": [
            {
                "type": 10,
                "content": "The quick brown fox jumped over the lazy dog."
            }
        ]
    }
]

or just anything with a text display component inside a container

Expected Behavior

I would expect the text size to be adjusted proportionately to the rest of the text. For example if at 16px it is 14px, I would expect for 24px the text to be scaled down to 21px.

Current Behavior

The font simply stays at its seemingly hardcoded value of 14px

Screenshots/Videos

A picture speaks more words than actual words or something:

Image

Image

Image

Client and System Information

Firefox 137.0.2/Chromium 135.0.7049.95/Discord 0.0.92
Debian 12

@TheKodeToad TheKodeToad added bug message components click click click click click click click labels Apr 23, 2025
@DV8FromTheWorld DV8FromTheWorld added the synced Synced to internal tracker label Apr 23, 2025
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
bug message components click click click click click click click synced Synced to internal tracker
Projects
None yet
Development

No branches or pull requests

2 participants