From 6a65e1e28dcac7472e46e38230a3ab100935277c Mon Sep 17 00:00:00 2001 From: GreenMan36 Date: Mon, 30 Dec 2024 17:01:20 +0100 Subject: [PATCH] Fix category__btn shift on selection --- src/styles/main.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/styles/main.css b/src/styles/main.css index 576e5a66..eb4fd88d 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -465,17 +465,17 @@ abbr { background-color: transparent; border: 0; color: inherit; - border-radius: 0; text-align: start; display: inline-block; padding: 0.75em 1em; width: 100%; font-size: var(--fs-500); + border-radius: var(--br-md); + border: 1px solid transparent; + border-right: 0; &:is(:hover, :focus-visible):not(.category__btn--active) { - /* color: var(--text-primary); */ background-image: var(--gradient-secondary); - border-radius: var(--br-md); } } @@ -484,7 +484,6 @@ abbr { border: 1px solid var(--border-color); font-weight: var(--fw-bold); color: var(--text-dark); - border-radius: var(--br-md); } /*------------------------------------*\