From f73f9d306bfa6ab892550da6d9181d5f34df0f6c Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Sat, 19 Aug 2023 01:04:57 +0800 Subject: [PATCH] fix pre inside blockquote --- assets/app.css | 2 +- assets/main.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/app.css b/assets/app.css index 6500156..cd59ab3 100644 --- a/assets/app.css +++ b/assets/app.css @@ -75,7 +75,7 @@ @apply text-lg leading-[1.8] text-black dark:text-white; } - article pre { + article pre:not(blockquote pre) { @apply -mx-8 !p-8 shadow; } diff --git a/assets/main.css b/assets/main.css index 3b57846..bdc4d44 100644 --- a/assets/main.css +++ b/assets/main.css @@ -1640,7 +1640,7 @@ article { color: rgb(255 255 255 / var(--tw-text-opacity)); } -article pre { +article pre:not(blockquote pre) { margin-left: -2rem; margin-right: -2rem; padding: 2rem !important;