🐛 Bugfix
Font slider now scales ALL message content, including code blocks, headings, blockquotes, and tables.
Root Cause
Markdown elements inside .msg had hardcoded px font-sizes that ignored the --msg-font CSS variable. When AI responses contained code blocks, headers, blockquotes or tables, the font appeared not to change when using the slider. Most noticeable on the last AI message since it's freshest and typically contains more structured content.
Fix
All .msg child element font-sizes converted from px to em (proportional to parent):
| Element | Before | After |
|---|---|---|
h1
| 21px | 1.35em |
h2
| 18px | 1.16em |
h3
| 16px | 1.03em |
code / pre code
| 13.5px | 0.87em |
blockquote
| 14.5px | 0.94em |
table
| 14px | 0.9em |
Visual proportions at default size (15.5px) are preserved exactly.
Code block header labels (12px) kept fixed — they are UI chrome, not content.