Align common text button heights + SCM buttons (#169335)

* Update button text line height and padding

* Change root text button line height value

* Remove hardcoded line heights

* Update notification button padding
This commit is contained in:
David Dossett 2022-12-15 15:15:51 -08:00 committed by GitHub
parent 0de34523fa
commit 3fcbb1cc96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View file

@ -14,6 +14,7 @@
justify-content: center;
align-items: center;
border: 1px solid var(--vscode-button-border, transparent);
line-height: 18px;
}
.monaco-text-button:focus {

View file

@ -128,7 +128,7 @@
.monaco-workbench .notifications-list-container .notification-list-item .notification-list-item-buttons-container .monaco-text-button {
width: fit-content;
padding: 5px 10px;
padding: 4px 10px;
display: inline-block; /* to enable ellipsis in text overflow */
font-size: 12px;
overflow: hidden;

View file

@ -229,9 +229,6 @@
flex-wrap: wrap;
padding: 0 4px;
overflow: hidden;
height: 30px;
line-height: 20px;
border: 1px solid var(--vscode-button-background);
}
.scm-view .button-container .monaco-description-button:hover {
@ -257,15 +254,13 @@
.scm-view .button-container .codicon.codicon-cloud-upload,
.scm-view .button-container .codicon.codicon-sync {
line-height: 20px;
margin: 0 0.4em 0 0;
margin: 0 4px 0 0;
}
.scm-view .button-container .codicon.codicon-arrow-up,
.scm-view .button-container .codicon.codicon-arrow-down {
line-height: 20px;
font-size: small !important;
margin: 0 0.2em 0 0;
margin: 0 4px 0 0;
}
.scm-view .button-container > .monaco-button-dropdown {