From 52836ee5978c167787734b4ec07169b2591b79f0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 16 Oct 2022 13:07:59 +0100 Subject: [PATCH] fix: duplicate background color in code blocks --- website/assets/css/base.pcss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/assets/css/base.pcss b/website/assets/css/base.pcss index 68c87e11..009cdf73 100644 --- a/website/assets/css/base.pcss +++ b/website/assets/css/base.pcss @@ -15,6 +15,10 @@ @apply p-4 my-8 overflow-auto rounded-md text-gray-700 bg-gray-200 dark:bg-gray-800 dark:text-gray-100; } + pre code { + @apply bg-transparent; + } + iframe { @apply w-full; }