mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
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:
parent
0de34523fa
commit
3fcbb1cc96
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue