forge
Explore
Log in

Don't you dare go Hollow

A focused row under a topic heading has room around its text

Browse files at this commit

0d793e79661b6fda70ef67e41b548320a00a8598Ahmet Kaan GümüşParent: 3077a91
Some checks failed
Show checks
  • ✗ci/buildjob was cancelledDetails
  • fix
    • a focused row under a topic heading has room around its text
    • the focus ring no longer sits on the letters
Show full message
🐛 fix: a focused row under a topic heading has room around its text; the focus ring no longer sits on the letters
style/_one.scssmodified+7 -0
@@ -1474,6 +1474,13 @@ a.line:hover .name,
14741474 padding-left: 0;
14751475 }
14761476
1477+.sheet > .sec:has(> h2) > .line:focus-visible,
1478+.sheet > .sec:has(> h2) > .row-open > .line:focus-visible {
1479+ margin: 0 -10px;
1480+ padding-right: 10px;
1481+ padding-left: 10px;
1482+}
1483+
14771484 // The last row of a list ends on its topic's edge, closed or open, as a plain line does.
14781485 .row-open:last-child:not([open]) > summary.line {
14791486 border-bottom: 0;