From 13efd647b44ef079512964f8bbf36fb06db5b807 Mon Sep 17 00:00:00 2001 From: upsiflu Date: Tue, 17 Dec 2024 00:18:46 +0100 Subject: [PATCH] fix(ui): links cannot contain buttons. Props `solid` and `ghost` cannot be combined (see ui-docs) --- front/src/components/ui/Button.vue | 28 ------------------------- front/src/ui/components/Sidebar.vue | 32 +++++------------------------ 2 files changed, 5 insertions(+), 55 deletions(-) diff --git a/front/src/components/ui/Button.vue b/front/src/components/ui/Button.vue index 64e1be5e4..af4b8cdb5 100644 --- a/front/src/components/ui/Button.vue +++ b/front/src/components/ui/Button.vue @@ -141,34 +141,6 @@ onMounted(() => { } } - @include dark-theme { - &.ghost { - &:not(:active):not(.is-active):not(:hover):not(.is-hovered) { - background-color: transparent !important; - border-color: transparent !important; - } - &.is-hovered, - &:hover, - &.is-active, - &:active { - background-color: var(--fw-gray-800) !important; - border-color: var(--fw-gray-800) !important; - color: var(--fw-text-color) !important; - } - } - } - - @include light-theme { - &.is-hovered, - &:hover, - &.is-active, - &:active { - background-color: var(--fw-gray-800) !important; - border-color: var(--fw-gray-800) !important; - color: var(--fw-bg-color) !important; - } - } - i.bi { font-size: 1.2rem; } diff --git a/front/src/ui/components/Sidebar.vue b/front/src/ui/components/Sidebar.vue index 41e9212c1..d0b050d2d 100644 --- a/front/src/ui/components/Sidebar.vue +++ b/front/src/ui/components/Sidebar.vue @@ -75,78 +75,56 @@ const uploads = useUploadsStore()

{{ t('components.Sidebar.link.channels') }}