mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-07 19:40:49 +08:00
修复头部更多按钮皮肤高度适配与空下拉气泡
This commit is contained in:
@@ -963,22 +963,18 @@
|
||||
}
|
||||
|
||||
/**头部模块菜单-更多与面板*/
|
||||
.layuimini-header-more {
|
||||
color : #1b1d21;
|
||||
height : 60px !important;
|
||||
line-height: 60px !important;
|
||||
}
|
||||
|
||||
.layuimini-header-more>a {
|
||||
height : 60px !important;
|
||||
line-height: 60px !important;
|
||||
}
|
||||
|
||||
/* 「更多」li 带 layui-nav-item 类且为菜单直接子元素,基础与各皮肤对模块 tab 的尺寸/颜色规则天然作用到它;
|
||||
此处不写死任何高度/行高——各皮肤顶栏高度不同(清爽36px/GTK30px等),写死会导致 a 溢出皮肤顶栏 */
|
||||
.layuimini-header-more:hover>.layui-nav-child {
|
||||
display : block;
|
||||
animation: layui-upbit .3s;
|
||||
}
|
||||
|
||||
/* 无折叠模块时下拉容器为空:同时阻断 hover 展开与 layui 原生 layui-show 两条路径,避免悬停出现空白气泡 */
|
||||
.layuimini-header-more>.layui-nav-child:empty {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.layuimini-header-more .layui-nav-child {
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user