(嵌入式): 滚动条css 样式加上我们的类名,避免在 div 嵌入时冲突 #16455

This commit is contained in:
dataeaseShu
2025-08-12 17:51:52 +08:00
committed by dataeaseShu
parent 479249a5da
commit 58bf0a1f63
2 changed files with 11 additions and 9 deletions

View File

@@ -10,8 +10,8 @@
</head>
<body style="height:100%">
<div id="app" style="height: 100%;"></div>
<div class="de-main_scrollbar" id="app" style="height: 100%;"></div>
<script type="module" src="/src/pages/index/main.ts"></script>
</body>
</html>
</html>

View File

@@ -628,14 +628,16 @@ strong {
overflow-x: auto !important;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background: #1f23294d;
}
.de-main_scrollbar {
::-webkit-scrollbar-thumb {
border-radius: 4px;
background: #1f23294d;
}
::-webkit-scrollbar {
width: 8px !important;
height: 8px !important;
::-webkit-scrollbar {
width: 8px !important;
height: 8px !important;
}
}
.ed-scrollbar__thumb {