From 3278f1fbe02ac85154948c6b0be09b6ffbc42364 Mon Sep 17 00:00:00 2001 From: Send_Nukez Date: Wed, 1 Dec 2021 06:07:59 +0100 Subject: [PATCH] fix alignment of color inputs --- src/styles/Inputs.scss | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/styles/Inputs.scss b/src/styles/Inputs.scss index 420c416..b5e4c68 100644 --- a/src/styles/Inputs.scss +++ b/src/styles/Inputs.scss @@ -172,19 +172,11 @@ input { &[type="color"] { position: relative; - padding: 0px; + padding: 1px 3px; + background-color: spiceColor("selected-row", 0.4); - &::before { - z-index: -1; - content: ""; - position: absolute; - inset: -5px; - border-radius: 4px; - background-color: spiceColor("selected-row", 0.4); - } - - &:hover::before, - &:active::before { + &:hover, + &:active { background-color: spiceColor("selected-row", 0.6); } }