Repository navigation
fix: give playground presets a box for comment outlines - #4263
Merged
Merged
Conversation
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.
Playground presets with stable ids had no box for an element comment to outline:
display: contentsremoved the member's box, and its generated button is chrome that the shared geometry reading correctly excludes. Give each preset an inline flex box, so pointing at the member has a real outline target. This preserves #3952's intent that authors can give presets stable ids.The notification playground render-gate test fails on main in both color schemes and passes with this change. The narrow-screen test for long preset labels, preset application and Reset also passes.
pnpm run checkpasses, including the runtime tests.Desktop and phone
leaf-dev stillscomparisons ofplayground-controlsare unchanged, independently reviewed. A served base/head probe measures the same 119.25×32 button at the same coordinates; the preset now occupies that box too. Startup requests and JavaScript bytes are unchanged; the stylesheet adds 232 bytes before presentation to supply the outline target from first paint.Closes #4244 — automated triage