Skip to content

Commit 1d50cb9

Browse files
committed
fix: align button height with Monaco metrics
Closes: #554 Signed-off-by: dankeboy36 <dankeboy36@gmail.com>
1 parent eda2fab commit 1d50cb9

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎src/vscode-button/vscode-button.styles.ts‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ const styles: CSSResultGroup = [
3434
font-weight: var(--vscode-font-weight, normal);
3535
height: 100%;
3636
justify-content: center;
37-
line-height: 22px;
37+
line-height: 18px;
3838
overflow: hidden;
39-
padding: 1px calc(13px + var(--vsc-base-additional-right-padding, 0px))
40-
1px 13px;
39+
padding: 4px
40+
calc(13px + var(--vsc-base-additional-right-padding, 0px)) 4px 13px;
4141
position: relative;
4242
user-select: none;
4343
white-space: nowrap;
@@ -146,9 +146,8 @@ const styles: CSSResultGroup = [
146146
147147
:host(:empty) .base,
148148
.base.icon-only {
149-
min-height: 24px;
150149
min-width: 26px;
151-
padding: 1px 4px;
150+
padding: 4px 4px;
152151
}
153152
154153
slot {

0 commit comments

Comments
 (0)