Skip to content

Commit a6d014f

Browse files
author
Miguel Solorio
committed
Center pill badge text (fixes microsoft#97960)
1 parent 76aff83 commit a6d014f

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919
.monaco-count-badge.long {
2020
padding: 2px 3px;
2121
border-radius: 2px;
22+
min-height: auto;
23+
line-height: normal;
2224
}

src/vs/base/parts/quickinput/browser/media/quickInput.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@
105105
vertical-align: middle;
106106
padding: 2px 4px;
107107
border-radius: 2px;
108+
min-height: auto;
109+
line-height: normal;
108110
}
109111

110112
.quick-input-action {

src/vs/workbench/contrib/preferences/browser/media/settingsEditor2.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
.settings-editor > .settings-header > .search-container > .settings-count-widget {
4343
position: absolute;
4444
right: 35px;
45-
top: 6px;
45+
top: 0px;
46+
margin: 6px 0px;
4647
}
4748

4849
.settings-editor > .settings-header > .search-container > .settings-count-widget:empty {

0 commit comments

Comments
 (0)