fix: strikethrough not showing

This commit is contained in:
2023-11-10 01:30:55 +01:00
parent 94cfaf40e5
commit 8701d7a40d

View File

@@ -45,6 +45,7 @@
position: relative; position: relative;
display: inline-flex; display: inline-flex;
gap: 4px; gap: 4px;
margin-inline: 4px;
&:focus-within { &:focus-within {
outline: none; outline: none;
@@ -55,16 +56,15 @@
transition: color 250ms ease; transition: color 250ms ease;
} }
span::after { button::after {
content: ""; content: "";
position: absolute; position: absolute;
top: 50%; top: 50%;
left: -4px;
transform-origin: center left; transform-origin: center left;
scale: 0 1; scale: 0 1;
width: calc(100% + 8px); width: calc(100% - 16px);
height: 1px; height: 1px;
background: currentcolor; background: currentcolor;