修改web/Home样式
This commit is contained in:
@@ -307,9 +307,17 @@ onMounted(async () => {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ⭐️ 移除 el-menu 组件自带的边框 */
|
||||
.el-menu--horizontal {
|
||||
border-bottom: none;
|
||||
}
|
||||
/* 上面这行代码有时可能因为scoped的限制而不生效,
|
||||
因此更推荐、更可靠的方式是使用 :deep()
|
||||
*/
|
||||
:deep(.el-menu--horizontal) {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
|
||||
.el-menu-item {
|
||||
padding: 0 20px !important; /* 增加菜单项间距 */
|
||||
|
||||
Reference in New Issue
Block a user