From be6ae17439633ce53f4d1ac511f8a076fdf837ab Mon Sep 17 00:00:00 2001 From: wvffle <funkwhale@wvffle.net> Date: Fri, 23 Sep 2022 22:48:37 +0000 Subject: [PATCH] Add some style fixes --- src/components/button/options/style.scss | 3 ++- src/components/popover/style.scss | 4 +++- src/styles/inc/style.scss | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/button/options/style.scss b/src/components/button/options/style.scss index 8ed665f..9f38b01 100644 --- a/src/components/button/options/style.scss +++ b/src/components/button/options/style.scss @@ -7,7 +7,8 @@ will-change: transform; transition: all .2s ease; - font-size: 0.6rem; + font-size: 0.6rem !important; + padding: 0.6em !important; i { font-size: 1.2rem; diff --git a/src/components/popover/style.scss b/src/components/popover/style.scss index b1f6120..5412fad 100644 --- a/src/components/popover/style.scss +++ b/src/components/popover/style.scss @@ -7,7 +7,7 @@ } position: absolute; - padding: 16px 16px 24px; + padding: 16px; border: 1px solid var(--fw-border-color); border-radius: var(--fw-border-radius); min-width: 246px; @@ -16,8 +16,10 @@ transition: all .2s ease; will-change: transform; + transform: translateX(var(--fw-translate-x)) translateY(var(--fw-translate-y)) scale(var(--fw-scale)); pointer-events: none; opacity: 0; + font-size: 0.875rem; --fw-scale: 0.97; &.is-open { diff --git a/src/styles/inc/style.scss b/src/styles/inc/style.scss index d46bbbf..ab7a0f5 100644 --- a/src/styles/inc/style.scss +++ b/src/styles/inc/style.scss @@ -1,3 +1,4 @@ +.funkwhale, :root { --fw-border-radius: 8px; } -- GitLab