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;