Skip to content

Commit 8384dd0

Browse files
authored
fix(font): icon and spacing in tabs (#2744)
1 parent e8a8565 commit 8384dd0

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

patches/feat-experimental-font.patch

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,14 +1448,14 @@ index b0a44e2..e711a80 100644
14481448
+
14491449
private get editorActionsEnabled(): boolean {
14501450
diff --git a/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css b/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css
1451-
index 57ab8ca..2242f5e 100644
1451+
index 57ab8ca..72a328f 100644
14521452
--- a/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css
14531453
+++ b/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css
14541454
@@ -9,2 +9,3 @@
14551455
cursor: pointer;
14561456
+ font-family: var(--vscode-workbench-tabs-font-family, inherit);
14571457
}
1458-
@@ -47 +48,32 @@
1458+
@@ -47 +48,37 @@
14591459
}
14601460
+
14611461
+
@@ -1468,8 +1468,13 @@ index 57ab8ca..2242f5e 100644
14681468
+
14691469
+.monaco-workbench .part.editor > .content .editor-group-container > .title.tabs .monaco-icon-label::before {
14701470
+ background-size: calc(var(--vscode-workbench-tabs-font-size) * 1.2307692308);
1471-
+ padding-right: calc(var(--vscode-workbench-tabs-font-size) * 1.2307692308);
14721471
+ width: calc(var(--vscode-workbench-tabs-font-size) * 1.2307692308);
1472+
+ padding-right: calc(var(--vscode-workbench-tabs-font-size) * 0.4615384615);
1473+
+}
1474+
+
1475+
+.monaco-workbench .part.editor > .content .editor-group-container > .title.tabs.show-file-icons .file-icon::before,
1476+
+.monaco-workbench .part.editor > .content .editor-group-container > .title.tabs.show-file-icons .folder-icon::before,
1477+
+.monaco-workbench .part.editor > .content .editor-group-container > .title.tabs.show-file-icons .rootfolder-icon::before {
14731478
+ font-size: calc(var(--vscode-workbench-tabs-font-size) * 1.5);
14741479
+}
14751480
+

0 commit comments

Comments
 (0)