Repository navigation
style(bots): drop the outline on an answered comment card - #52300
Merged
Merged
Conversation
[Low impact] The change appears safe to merge. SummaryRemoves the decorative outline from answered comment cards using the existing
Reviews (1) · Last reviewed commit: "style(bots): drop the outline on an answ..." · Reviewed by Greptile |
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.
What
Removes the hairline outline (
inset-ring inset-ring-border) from a comment card in an item's Activity once its question is answered, i.e. the card that folds to "Answered >". Other comment cards keep their hairline.Nothing else changes: padding, size and left/right edges stay the same (the ring was inset, so it never took up space). The background tint in light and dark, the hover chevron, the card's
focus:ringand the answer line'sfocus-visible:ringkeyboard focus ring all stay.No comparable products checked: mechanical removal, requested by the owner.
Verification
Component fixture rendered in the Orca browser and
pnpm fixtures:shot, at a narrow 300px width, with a long answer (truncates with an ellipsis), between two unanswered comment cards: light and dark, before and after, plus keyboard focus on the answer line. Edges line up with the cards next to it. Screenshots are below.Performance
Only a static Tailwind class string changes, now conditional on the existing
donevalue. No new state, effects, listeners or renders, so there is no runtime cost.Screenshots
Narrow (300px), long answer, between unanswered cards. Last row: the Orca browser at a 360px viewport. Focus shots show the keyboard focus ring on the answer line.