From 021b02989ee43b01d9c9dcf76cfc9062e8500ac1 Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Tue, 12 Nov 2024 18:44:24 -0600 Subject: [PATCH] fix markdown styles --- src/lib/scss/custom/components/_markdown.scss | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/lib/scss/custom/components/_markdown.scss b/src/lib/scss/custom/components/_markdown.scss index 468f945..321fdd9 100644 --- a/src/lib/scss/custom/components/_markdown.scss +++ b/src/lib/scss/custom/components/_markdown.scss @@ -2,24 +2,24 @@ overflow-x: auto; scrollbar-width: thin; - &:has(.language-sql), - &:has(.language-java), - &:has(.language-javascript), - &:has(.language-typescript), - &:has(.language-csharp), - &:has(.language-python), - &:has(.language-json) { - background-color: black; - color: white !important; - border-radius: 5px; - padding: 5px 10px; - } - pre { -ms-overflow-style: none !important; white-space: pre-wrap; margin-top: 1em; margin-bottom: 1em; + + &:has(.language-sql), + &:has(.language-java), + &:has(.language-javascript), + &:has(.language-typescript), + &:has(.language-csharp), + &:has(.language-python), + &:has(.language-json) { + background-color: black; + color: white !important; + border-radius: 5px; + padding: 5px 10px; + } } pre::-webkit-scrollbar {