From 0e6a45a9096a96e546280c5444559f1066b4b6db Mon Sep 17 00:00:00 2001 From: Septs Date: Sun, 7 Aug 2022 21:27:06 +0800 Subject: [PATCH] fix style --- assets/_custom.scss | 3 ++- assets/_variables.scss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/_custom.scss b/assets/_custom.scss index 54848eb..8da0a8f 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -21,8 +21,9 @@ figure.audio-player audio { figure.image { border: $padding-1 solid var(--gray-200); border-radius: $border-radius; - overflow: hidden; img[data-thumbnail] { + border-top-left-radius: $border-radius; + border-top-right-radius: $border-radius; background-repeat: no-repeat; background-size: 100%; } diff --git a/assets/_variables.scss b/assets/_variables.scss index 1f34f10..b0f9b4b 100644 --- a/assets/_variables.scss +++ b/assets/_variables.scss @@ -1,2 +1,2 @@ -$menu-width: 18rem; -$toc-width: 18rem; +$menu-width: 18.5rem; +$toc-width: 18.5rem;