mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
Reduce activity bar dimensions for improved UI consistency
This commit is contained in:
@@ -49,8 +49,8 @@ export class ActivitybarPart extends Part {
|
||||
|
||||
//#region IView
|
||||
|
||||
readonly minimumWidth: number = 40;
|
||||
readonly maximumWidth: number = 40;
|
||||
readonly minimumWidth: number = 36;
|
||||
readonly maximumWidth: number = 36;
|
||||
readonly minimumHeight: number = 0;
|
||||
readonly maximumHeight: number = Number.POSITIVE_INFINITY;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
.monaco-workbench .activitybar > .content .composite-bar > .monaco-action-bar .action-item::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
width: 40px;
|
||||
width: 36px;
|
||||
height: 2px;
|
||||
display: none;
|
||||
background-color: transparent;
|
||||
@@ -46,7 +46,7 @@
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
width: 40px;
|
||||
width: 36px;
|
||||
height: 32px;
|
||||
margin-right: 0;
|
||||
box-sizing: border-box;
|
||||
@@ -56,7 +56,7 @@
|
||||
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-label:not(.codicon) {
|
||||
font-size: 15px;
|
||||
line-height: 32px;
|
||||
padding: 0 0 0 40px;
|
||||
padding: 0 0 0 36px;
|
||||
}
|
||||
|
||||
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-label.codicon {
|
||||
@@ -157,8 +157,8 @@
|
||||
|
||||
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .badge .badge-content {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 7px;
|
||||
top: 18px;
|
||||
right: 6px;
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
min-width: 9px;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
.monaco-workbench .part.activitybar {
|
||||
width: 40px;
|
||||
width: 36px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user