File tree Expand file tree Collapse file tree 3 files changed +24
-23
lines changed
src/vs/workbench/browser/parts/activitybar Expand file tree Collapse file tree 3 files changed +24
-23
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,16 @@ import { SwitchCompositeViewAction } from '../compositeBarActions.js';
4141
4242export class ActivitybarPart extends Part {
4343
44- static readonly ACTION_HEIGHT = 48 ;
44+ static readonly ACTION_HEIGHT = 32 ;
4545
4646 static readonly pinnedViewContainersKey = 'workbench.activity.pinnedViewlets2' ;
4747 static readonly placeholderViewContainersKey = 'workbench.activity.placeholderViewlets' ;
4848 static readonly viewContainersWorkspaceStateKey = 'workbench.activity.viewletsWorkspaceState' ;
4949
5050 //#region IView
5151
52- readonly minimumWidth : number = 48 ;
53- readonly maximumWidth : number = 48 ;
52+ readonly minimumWidth : number = 36 ;
53+ readonly maximumWidth : number = 36 ;
5454 readonly minimumHeight : number = 0 ;
5555 readonly maximumHeight : number = Number . POSITIVE_INFINITY ;
5656
Original file line number Diff line number Diff line change 1212.monaco-workbench .activitybar > .content .composite-bar > .monaco-action-bar .action-item ::after {
1313 position : absolute;
1414 content : '' ;
15- width : 48 px ;
15+ width : 36 px ;
1616 height : 2px ;
1717 display : none;
1818 background-color : transparent;
4646 z-index : 1 ;
4747 display : flex;
4848 overflow : hidden;
49- width : 48 px ;
50- height : 48 px ;
49+ width : 36 px ;
50+ height : 32 px ;
5151 margin-right : 0 ;
5252 box-sizing : border-box;
5353
5454}
5555
5656.monaco-workbench .activitybar > .content : not (.monaco-menu ) > .monaco-action-bar .action-label : not (.codicon ) {
5757 font-size : 15px ;
58- line-height : 40 px ;
59- padding : 0 0 0 48 px ;
58+ line-height : 32 px ;
59+ padding : 0 0 0 36 px ;
6060}
6161
6262.monaco-workbench .activitybar > .content : not (.monaco-menu ) > .monaco-action-bar .action-label .codicon {
63- font-size : 24 px ;
63+ font-size : 16 px ;
6464 align-items : center;
6565 justify-content : center;
6666}
157157
158158.monaco-workbench .activitybar > .content : not (.monaco-menu ) > .monaco-action-bar .badge .badge-content {
159159 position : absolute;
160- top : 24 px ;
161- right : 8 px ;
160+ top : 17 px ;
161+ right : 6 px ;
162162 font-size : 9px ;
163163 font-weight : 600 ;
164- min-width : 8 px ;
165- height : 16 px ;
166- line-height : 16 px ;
167- padding : 0 4 px ;
168- border-radius : 20 px ;
164+ min-width : 9 px ;
165+ height : 13 px ;
166+ line-height : 13 px ;
167+ padding : 0 2 px ;
168+ border-radius : 13 px ;
169169 text-align : center;
170+ border : none !important ;
170171}
171172
172173.monaco-workbench .activitybar > .content : not (.monaco-menu ) > .monaco-action-bar .profile-badge .profile-text-overlay {
173174 position : absolute;
174175 font-weight : 600 ;
175- font-size : 9 px ;
176- line-height : 10 px ;
177- top : 24 px ;
178- right : 6 px ;
179- padding : 2px 3 px ;
180- border-radius : 7 px ;
176+ font-size : 8 px ;
177+ line-height : 8 px ;
178+ top : 14 px ;
179+ right : 2 px ;
180+ padding : 2px 2 px ;
181+ border-radius : 6 px ;
181182 background-color : var (--vscode-profileBadge-background );
182183 color : var (--vscode-profileBadge-foreground );
183184 border : 2px solid var (--vscode-activityBar-background );
Original file line number Diff line number Diff line change 44 *--------------------------------------------------------------------------------------------*/
55
66.monaco-workbench .part .activitybar {
7- width : 48 px ;
7+ width : 36 px ;
88 height : 100% ;
99}
1010
You can’t perform that action at this time.
0 commit comments