💄 修复日志滚动条

This commit is contained in:
刘嘉伟 2024-08-16 22:19:39 +08:00
parent b00392b9f5
commit 179da0bbf6
2 changed files with 26 additions and 22 deletions

View File

@ -6,7 +6,7 @@
-webkit-border-radius: 15px; -webkit-border-radius: 15px;
} }
::-webkit-scrollbar-track-piece { ::-webkit-scrollbar-track-piece {
background-color: #ffff; background-color: #fff;
border-radius:15px; border-radius:15px;
-webkit-border-radius: 15px; -webkit-border-radius: 15px;
} }

View File

@ -56,11 +56,15 @@ onUnmounted(() => {
<breadcrumb/> <breadcrumb/>
<div class="app-container-breadcrumb"> <div class="app-container-breadcrumb">
<div <div
class="w-full h-full p-4 bg-[#2B2B2B] rounded drop-shadow-lg overflow-y-auto" class="w-full h-full p-2 bg-[#2B2B2B] rounded drop-shadow-lg overflow-y-auto"
v-html="loggerContent" v-html="loggerContent"
></div> ></div>
</div> </div>
</div> </div>
</template> </template>
<style lang="scss" scoped></style> <style lang="scss" scoped>
::-webkit-scrollbar-track-piece {
background-color: transparent;
}
</style>