Skip to content

Commit f355c88

Browse files
authored
fix: optimize the style of MenuBar (#629)
1 parent d45a807 commit f355c88

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/components/menu/style.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
min-width: 120px;
5151

5252
&:hover {
53-
background-color: var(--button-background);
53+
background-color: var(--menu-selectionBackground);
5454
color: var(--button-foreground);
5555
}
5656

src/extensions/locales-defaults/locales/zh-CN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"menu.copyLineUp": "向上拷贝",
2020
"menu.view": "视图",
2121
"menu.commandPalette": "命令面板",
22-
"menu.openView": "打开试图",
22+
"menu.openView": "打开视图",
2323
"menu.appearance": "外观",
2424
"menu.showMenuBar": "显示菜单栏",
2525
"menu.showSideBar": "显示边栏",

src/workbench/menuBar/style.scss

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,17 @@
3333

3434
&--horizontal {
3535
align-items: center;
36-
background: var(--activityBar-background);
36+
background-color: var(--activityBar-background);
3737
display: flex;
3838
height: 30px;
3939
justify-content: center;
4040
width: 100%;
4141

4242
> #{$menu} {
43-
background: var(--activityBar-background);
43+
background-color: inherit;
4444
box-shadow: none;
4545
color: var(--foreground);
46+
height: 100%;
4647

4748
&--horizontal {
4849
#{$menu}__item {

0 commit comments

Comments
 (0)