From 8701d7a40db821287d30db9bd8522179da281402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Fri, 10 Nov 2023 01:30:55 +0100 Subject: [PATCH] fix: strikethrough not showing --- src/routes/config/chords/ChordActionEdit.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/config/chords/ChordActionEdit.svelte b/src/routes/config/chords/ChordActionEdit.svelte index 9a3427cf..9ed80fad 100644 --- a/src/routes/config/chords/ChordActionEdit.svelte +++ b/src/routes/config/chords/ChordActionEdit.svelte @@ -45,6 +45,7 @@ position: relative; display: inline-flex; gap: 4px; + margin-inline: 4px; &:focus-within { outline: none; @@ -55,16 +56,15 @@ transition: color 250ms ease; } - span::after { + button::after { content: ""; position: absolute; top: 50%; - left: -4px; transform-origin: center left; scale: 0 1; - width: calc(100% + 8px); + width: calc(100% - 16px); height: 1px; background: currentcolor;