From b6983656b8ecd4a49d5562056a4c76f468a55f65 Mon Sep 17 00:00:00 2001 From: oeyoews Date: Sat, 13 Jul 2024 11:29:32 +0800 Subject: [PATCH] fix: adjust title height --- assets/tailwind.css | 20 +++++++++++++++ entrypoints/sidepanel/Sidepanel.vue | 38 +++++++++++++++++++++++++---- package.json | 2 +- 3 files changed, 54 insertions(+), 6 deletions(-) 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 = () => {