You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
最近在用
vuejs
+element-ui
搭建一个后台管理系统,UI布局定的是左侧导航栏和顶部导航栏相结合。左侧导航栏css:
结果由于模块太多, 左侧导航栏高度超过了屏幕高度,之前
overflow-y
设置成了hidden
,就导致了超出屏幕高度的部分无法显示.解决办法是将
overflow-y
设为auto
, 这样的话, 如果左侧导航栏的高度超过了屏幕高度, 则在导航栏右侧显示一个滚动条。功能上满足了, 但是这个滚动条也太丑了点吧 💔
一番google之后, 找到了解决方案:
添加下面的css代码, 既可以隐藏
.side-bar
的滚动条,又不影响滚动效果, 完美解决 👍️The text was updated successfully, but these errors were encountered: