feat(webchat): Add chat font size setting#3039
Closed
joshlewis wants to merge 1 commit into
Closed
Conversation
Adds a configurable font size option for the webchat interface. Changes: - Add chatFontSize setting to UiSettings (small/medium/large/x-large) - Add --font-size-chat CSS variable in base.css - Update chat text styles to use the CSS variable - Add applyChatFontSize function to apply setting to document - Add font size dropdown control in chat controls UI - Add styles for the font size control Resolves #3027
Author
|
Hi! 👋 It looks like the lint failures are coming from code in
Neither of these files were touched by this PR. Happy to rebase once those are resolved on main, or let me know if I'm missing something! Thanks for your time reviewing this. |
This was referenced May 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a configurable font size option for the webchat interface.
Problem
Users who want larger text in webchat must rely on browser zoom, which can cause UI breakages and layout issues. Browser zoom isn't well-tested across all UI states.
Solution
Add an official font size setting in the chat controls that scales text without relying on browser zoom.
Options: Small (13px), Medium (14px, default), Large (16px), X-Large (18px)
Changes
chatFontSizesetting toUiSettingsin storage.ts--font-size-chatCSS variable in base.cssapplyChatFontSize()function to apply setting to documentTesting
pnpm ui:devpnpm ui:build)Resolves #3027