Skip to content

Commit

Permalink
feat(menu):修复导航栏切换深色模式闪烁的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
li1553770945 committed Nov 13, 2024
1 parent a2d194b commit 0820d1f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/components/menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -277,19 +277,6 @@ const openGithub = () => {
padding: 10px 20px; /* 菜单项的内边距 */
}
/* 改变菜单图标和文字的颜色以适应深色模式 */
[data-theme="dark"] .el-menu-item {
background-color: #333;
color: #fff;
}
[data-theme="dark"] .el-menu-item:hover {
background-color: #444;
}
[data-theme="dark"] .el-sub-menu:hover {
background-color: #444;
}
[data-theme="dark"] .el-menu {
background-color: #333;
Expand Down

0 comments on commit 0820d1f

Please sign in to comment.