Skip to content

Commit 9e7b3b2

Browse files
authored
Merge pull request #278595 from microsoft/mrleemurray/gorgeous-puma-lime
Change keybinding display to inline-flex for better alignment
2 parents 6d90f6c + 08fec93 commit 9e7b3b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
}
1111

1212
.monaco-keybinding > .monaco-keybinding-key {
13-
display: inline-block;
13+
display: inline-flex;
14+
align-items: center;
1415
border-style: solid;
1516
border-width: 1px;
1617
border-radius: 3px;
17-
vertical-align: middle;
18+
justify-content: center;
19+
min-width: 12px;
1820
font-size: 11px;
1921
padding: 3px 5px;
2022
margin: 0 2px;

0 commit comments

Comments
 (0)