Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

关于scrollbar的问题 #131

Closed
Mao-Hao opened this issue Nov 25, 2020 · 1 comment
Closed

关于scrollbar的问题 #131

Mao-Hao opened this issue Nov 25, 2020 · 1 comment

Comments

@Mao-Hao
Copy link

Mao-Hao commented Nov 25, 2020

在主页,scrollbar无法隐藏,这造成了iconfont icon-menu switchmenu图标无法对齐的问题(即右上菜单图标点击之后与X不在同一水平位置)

@Mao-Hao
Copy link
Author

Mao-Hao commented Nov 25, 2020

在screen.ejs 适当位置添加
<body> <script type="text/javascript"> var style = document.createElement("style"); style.innerHTML =body::-webkit-scrollbar {display: none;}; document.head.appendChild(style); </script> </body>
就好了

@Mao-Hao Mao-Hao closed this as completed Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant