2 Commits
Author SHA1 Message Date
Timi 5c9b7ad620 v2.0.1
Release / release (pull_request) Successful in 35s
2026-11-26 12:09:12 +08:00
Timi 96febc972b style: refine scroll bar and rename class to tui-scroll-bar 2026-11-26 12:08:11 +08:00
3 changed files with 23 additions and 13 deletions
@@ -1,5 +1,5 @@
<template>
<div class="tui-demo">
<div class="tui-demo tui-scroll-bar">
<section class="stage">
<slot />
</section>
+1 -1
View File
@@ -9,7 +9,7 @@
"**/*.css"
],
"private": false,
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"scripts": {
"dev": "pnpm run -C docs dev",
+21 -11
View File
@@ -1,18 +1,28 @@
@import url(./variable);
.custom-scroll-bar *::-webkit-scrollbar {
width: 10px !important;
height: 10px !important;
background: #CFD2E0;
}
.tui-scroll-bar {
.custom-scroll-bar *::-webkit-scrollbar-corner {
background: #CFD2E0;
}
*::-webkit-scrollbar {
width: 10px !important;
height: 10px !important;
cursor: default;
background: #CFD2E0;
}
.custom-scroll-bar *::-webkit-scrollbar-thumb {
background: #525870;
border-radius: 0 !important;
*::-webkit-scrollbar-corner {
background: #CFD2E0;
}
*::-webkit-scrollbar-thumb {
cursor: default;
background: #525870;
border-radius: 0 !important;
&:hover {
cursor: default;
background: #636981;
}
}
}
*::selection {