diff --git a/assets/tailwind.css b/assets/tailwind.css index 91502ec..71c539a 100644 --- a/assets/tailwind.css +++ b/assets/tailwind.css @@ -5,3 +5,23 @@ ::-webkit-scrollbar { /* display: none; */ } +::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ + height: 1px; +} + +::-webkit-scrollbar-thumb { + /*滚动条里面小方块*/ + border-radius: 10px; + background-color: #8c8c8c; + background-color: rgba(0, 0, 0, 0.25); +} + +::-webkit-scrollbar-track { + /* background-color: #f6f6f6; */ +} +::-webkit-scrollbar-thumb, +::-webkit-scrollbar-track { + border: 0; +} \ No newline at end of file diff --git a/entrypoints/sidepanel/Sidepanel.vue b/entrypoints/sidepanel/Sidepanel.vue index 9b9ba45..55f0c41 100644 --- a/entrypoints/sidepanel/Sidepanel.vue +++ b/entrypoints/sidepanel/Sidepanel.vue @@ -455,7 +455,7 @@ const toggleInfoDialog = () => { + class="overflow-y-auto h-[calc(100vh-105px)]"> @@ -471,7 +471,7 @@ const toggleInfoDialog = () => {