From c89e198bf8411ff40bc94e6f2ece06d95c3ea556 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 21 Sep 2021 08:47:43 +0100 Subject: [PATCH] Simplify some DND style rules --- .../client/src/components/preview/Indicator.svelte | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/preview/Indicator.svelte b/packages/client/src/components/preview/Indicator.svelte index 212cd1671d..5f3a4b70c7 100644 --- a/packages/client/src/components/preview/Indicator.svelte +++ b/packages/client/src/components/preview/Indicator.svelte @@ -70,18 +70,18 @@ justify-content: flex-start; align-items: center; } + .text.line { + transform: translateY(-50%); + border-radius: 4px; + } .text.flipped { border-top-left-radius: 4px; border-bottom-left-radius: 4px; transform: translateY(0%); top: -2px; } - .text.line { - transform: translateY(-50%) !important; - border-radius: 4px !important; - } .text.right { - right: -2px !important; - left: auto !important; + right: -2px; + left: auto; }