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,
1474 padding-left: 0;1474 padding-left: 0;
1475 }1475 }
1476 1476
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+
1477 // The last row of a list ends on its topic's edge, closed or open, as a plain line does.1484 // The last row of a list ends on its topic's edge, closed or open, as a plain line does.
1478 .row-open:last-child:not([open]) > summary.line {1485 .row-open:last-child:not([open]) > summary.line {
1479 border-bottom: 0;1486 border-bottom: 0;