From 0cd01a54a07f147e67522253e8dc58e4a3fc5558 Mon Sep 17 00:00:00 2001 From: Wolfie <32025746+Wolfkid200444@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:08:44 -0400 Subject: [PATCH] Refactor SVG icon and fix tab overflow bug --- .../components/icons/overFlowIcon.tsx | 28 +++++++--- .../components/modals/NoteBookTab.tsx | 56 ++++++++++++------- .../holynotes/components/modals/Notebook.tsx | 5 +- src/plugins/holynotes/style.css | 9 --- 4 files changed, 58 insertions(+), 40 deletions(-) diff --git a/src/plugins/holynotes/components/icons/overFlowIcon.tsx b/src/plugins/holynotes/components/icons/overFlowIcon.tsx index c48727826..461a64703 100644 --- a/src/plugins/holynotes/components/icons/overFlowIcon.tsx +++ b/src/plugins/holynotes/components/icons/overFlowIcon.tsx @@ -4,18 +4,28 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -const overFlowIcon = (props: React.SVGProps): JSX.Element => ( -
- + {TabBar}
diff --git a/src/plugins/holynotes/style.css b/src/plugins/holynotes/style.css index 6f5fbd8fd..c3e10eae4 100644 --- a/src/plugins/holynotes/style.css +++ b/src/plugins/holynotes/style.css @@ -95,15 +95,6 @@ $modifier: var(--background-modifier-accent); position: relative; top: -10px; } -/* .vc-notebook-tabbar-bar::-webkit-scrollbar { - width: 8px; - height: 8px; -} - -.vc-notebook-tabbar-bar::-webkit-scrollbar-thumb { - background-color: red; - border-radius: 4px; -} */ .vc-notebook-tabbar-container { border-bottom: 1px solid var(--profile-body-divider-color);