Skip to content

Commit c285e00

Browse files
committed
chore: remove default scroll bar
1 parent d25ed4c commit c285e00

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

web/air/src/index.css

+11
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,14 @@ code {
103103
display: none !important;
104104
}
105105
}
106+
107+
108+
/* 隐藏浏览器默认的滚动条 */
109+
body {
110+
overflow: hidden;
111+
}
112+
113+
/* 自定义滚动条样式 */
114+
body::-webkit-scrollbar {
115+
width: 0; /* 隐藏滚动条的宽度 */
116+
}

0 commit comments

Comments
 (0)