Skip to content

fix(ui): give the post options button a valid font rule - #49

Merged
wolfgang-aura merged 1 commit into
mainfrom
fix/caret-font
Oct 5, 2026
Merged

wolfgang-aura merged 1 commit into
mainfrom
fix/caret-font

Conversation

@wolfgang-aura

Copy link
Copy Markdown
Owner

Fixes #40. .xa-ctl-options used font:700 12px/1 inherit. inherit is not allowed inside the font shorthand, so browsers dropped the whole declaration. It is now font:inherit;font-weight:700;font-size:12px;line-height:1, the same fix #39 made for .xa-modal button.

Live-checked in Brave with the rebuilt extension, on a focused post: the button computes X's font stack (-apple-system, BlinkMacSystemFont, "Segoe UI", ...), weight 700, 12px, line-height 12px. A screenshot shows it next to "Create AI link".

🤖 Generated with Claude Code

`font:700 12px/1 inherit` is invalid (inherit cannot sit inside the
shorthand), so browsers dropped the whole declaration and the button
fell back to the default button font. Split it into longhands.

Fixes #40

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wolfgang-aura
wolfgang-aura merged commit afeb983 into main Oct 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Post options caret ignores its font rule (invalid font shorthand)

1 participant