Skip to content

Commit

Permalink
重做:将 左侧导航主菜单[main-left menu] 的 overflow-y 改为 scroll;
Browse files Browse the repository at this point in the history
-避免出现 滚动条[ScrollBar] 时,菜单内元素向左侧挤压
  • Loading branch information
SpeedPartner committed Jun 8, 2023
1 parent 79dbe0b commit c27b68a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/luci-static/argon/css/cascade.css
Expand Up @@ -575,7 +575,7 @@ footer a {
position: fixed;
z-index: 100;
transition: width 0.2s ease-in-out;
overflow-y: overlay;
overflow-y: scroll;
}
.main .main-left::-webkit-scrollbar {
width: 5px;
Expand Down
2 changes: 1 addition & 1 deletion htdocs/luci-static/argon/less/cascade.less
Expand Up @@ -677,7 +677,7 @@ footer {
position: fixed;
z-index: 100;
transition: width 0.2s ease-in-out;
overflow-y: overlay;
overflow-y: scroll;

&::-webkit-scrollbar {
width: 5px;
Expand Down

0 comments on commit c27b68a

Please sign in to comment.