From 25f56756129c2035079a781799300c80780cbe90 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 25 Aug 2024 08:42:18 +0900 Subject: [PATCH] fix: compatible with changes in new versions of Sass --- src/routes/+error.svelte | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte index b375a98..0b2b43a 100644 --- a/src/routes/+error.svelte +++ b/src/routes/+error.svelte @@ -91,15 +91,6 @@ opacity: 0.6; } a { - &:first-child { - &::before { - content: '🗀 '; - } - &::after { - content: '|'; - margin-left: 15px; - } - } margin-left: 5px; padding: 0 5px; color: inherit; @@ -107,6 +98,15 @@ &:hover { text-decoration: underline; } + &:first-child { + &::before { + content: '🗀 '; + } + & ::after { + content: '|'; + margin-left: 15px; + } + } } } }