Skip to content

Commit 832a034

Browse files
authored
fix: improve the style of tab title (#409)
1 parent c98df53 commit 832a034

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

src/components/tabs/style.scss

+3-10
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,13 @@
3535
box-sizing: border-box;
3636
cursor: pointer;
3737
display: flex;
38-
flex: 0 0 auto;
39-
font-size: 13px;
38+
flex-wrap: nowrap;
4039
height: 100%;
41-
max-width: 300px;
42-
min-width: 40px;
43-
padding: 0 20px;
40+
min-width: fit-content;
41+
padding-left: 10px;
4442
position: relative;
4543
user-select: none;
4644

47-
&__name {
48-
font-size: 16px;
49-
margin-left: 10px;
50-
}
51-
5245
&__op {
5346
color: var(--icon-foreground);
5447
margin-left: 10px;

src/extensions/theme-defaults/themes/dark_defaults.json

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"inputValidation.errorBackground": "#5A1D1D",
2929
"inputValidation.errorBorder": "#BE1100",
3030
"icon.foreground": "#C5C5C5",
31+
"panelTitle.activeForeground": "#E7E7E7",
32+
"panelTitle.inactiveForeground": "#e7e7e799",
3133
"problemsWarningIcon.foreground": "#CCA700",
3234
"problemsErrorIcon.foreground": "#F48771",
3335
"problemsInfoIcon.foreground": "#75BEFF",

src/extensions/theme-defaults/themes/light_defaults.json

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"inputValidation.errorBackground": "#F2DEDE",
2929
"inputValidation.errorBorder": "#BE1100",
3030
"icon.foreground": "#424242",
31+
"panelTitle.activeForeground": "#424242",
32+
"panelTitle.inactiveForeground": "#424242bf",
3133
"problemsWarningIcon.foreground": "#BF8803",
3234
"problemsErrorIcon.foreground": "#E51400",
3335
"problemsInfoIcon.foreground": "#75BEFF",

0 commit comments

Comments
 (0)