From 2202d8431f8b73c9ea68de1f024eaddadf4848bc Mon Sep 17 00:00:00 2001 From: upsiflu Date: Mon, 20 Jan 2025 18:12:54 +0200 Subject: [PATCH] fix(ui): regression (gap between text and icon on buttons) --- front/src/components/ui/Button.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/front/src/components/ui/Button.vue b/front/src/components/ui/Button.vue index 6e3ef4f80..30adbe72d 100644 --- a/front/src/components/ui/Button.vue +++ b/front/src/components/ui/Button.vue @@ -223,7 +223,7 @@ onMounted(() => { // Icon - i.bi { + > i.bi { font-size: 18px; margin: -2px 0; &.large { @@ -231,14 +231,15 @@ onMounted(() => { margin: -8px 0; } } - - &.is-icon-only i.bi { margin: -6px; &.large { margin: -8px; } } + &:has(>i){ + gap: 10px; + } } }