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