Repository navigation
fix(ui): give the post options button a valid font rule - #49
Merged
Merged
Conversation
`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>
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.
Fixes #40.
.xa-ctl-optionsusedfont:700 12px/1 inherit.inheritis not allowed inside thefontshorthand, so browsers dropped the whole declaration. It is nowfont: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