style: auto compute menu bottom border distance when header shrink
This commit is contained in:
parent
f4ee266e44
commit
d48e164bf2
|
@ -274,12 +274,12 @@ $header-progress-height = 2.8px;
|
|||
.menu-item {
|
||||
a:hover {
|
||||
&::after {
|
||||
bottom: -20px;
|
||||
bottom: -($header-shrink-height / 2 - 10);
|
||||
}
|
||||
}
|
||||
|
||||
.active::after {
|
||||
bottom: -20px;
|
||||
bottom: -($header-shrink-height / 2 - 10);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ $main-content-width = 62%; // 中间内容区域宽度(PC)
|
|||
$main-content-width-tablet = 80%; // 中间内容区域宽度(平板)
|
||||
$main-content-width-mobile = 88%; // 中间内容区域宽度(手机)
|
||||
|
||||
$header-shrink-height = 60px; // 头部收缩高度
|
||||
$header-shrink-height = 56px; // 头部收缩高度
|
||||
$tool-button-width = 36px; // tools 方形工具按钮宽度
|
||||
$component-interspace = 30px; // 组件/模块的间隔值(px)
|
||||
|
||||
|
|
Loading…
Reference in New Issue