From 59fe7421e6f51c7b4f3c926f006ccef322de130d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar?= Date: Tue, 15 Aug 2023 21:49:45 +0200 Subject: [PATCH] fix: styling conflict for code tags in li elements (#2273) --- docs/sass/_base.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sass/_base.scss b/docs/sass/_base.scss index 58b398e03b..eec9e7a7c5 100644 --- a/docs/sass/_base.scss +++ b/docs/sass/_base.scss @@ -108,11 +108,11 @@ pre table td:nth-of-type(1) { user-select: none; } -p code, li code { +p code, li code:not(pre code) { background-color: #f5f5f5; white-space: pre-wrap; padding: 5px; border-radius: 5px; font-size: 0.85rem; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 1px rgba(0,0,0,.1), 0 2px 1px -1px rgba(0,0,0,.12); -} \ No newline at end of file +}