From b2077f6069e7b369b19beab52e65ccb96c63c527 Mon Sep 17 00:00:00 2001 From: Frank Lin Date: Fri, 4 Aug 2023 14:30:49 -0700 Subject: [PATCH] Fix style --- assets/css/_base.scss | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/assets/css/_base.scss b/assets/css/_base.scss index f6b0db7..6aee7d2 100644 --- a/assets/css/_base.scss +++ b/assets/css/_base.scss @@ -27,15 +27,10 @@ a { } } -a.external { - background-image: url(/images/external-link.svg?uNJ); - background-position: center right; - background-repeat: no-repeat; - background-size: 0.857em; - padding-right: 1em; +a.external:after { + content: url(/images/external-link.svg?uNJ); } - // Browsers seem to use a smaller default font-size with monospaced code // blocks (like 80% of the size of normal text) and that looks pretty bad with // small inline code-blocks in the middle of normal text (mainly because of