Skip to content

Commit d53cfcd

Browse files
TrottBethGriggs
authored andcommitted
doc: improve kbd element rendering
* better vertical alignment with text * slightly larger "key" size * remove top light area (from box-shadow) PR-URL: #35497 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 2e67d65 commit d53cfcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/api_assets/style.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,14 +576,14 @@ kbd{
576576
background-color:#eee;
577577
border-radius:3px;
578578
border:1px solid #b4b4b4;
579-
box-shadow:01px1pxrgba(0,0,0,.2),02px00rgba(255,255,255,.7) inset;
579+
box-shadow:01px1pxrgba(0,0,0,.2);
580580
color:#333;
581581
display: inline-block;
582582
font-size:.85em;
583583
font-weight:700;
584-
line-height:1;
585584
padding:2px4px;
586585
white-space: nowrap;
586+
vertical-align: middle;
587587
}
588588

589589
.changelog>summary{

0 commit comments

Comments
(0)