From 53b5328c9ddab3ed9528aef9b3e27ded4e90e107 Mon Sep 17 00:00:00 2001 From: 2nthony Date: Fri, 29 Dec 2023 17:20:08 +0800 Subject: [PATCH] fix: remove code, th `!important` flag --- src/components/Html.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Html.tsx b/src/components/Html.tsx index 04f894b..a5459a9 100644 --- a/src/components/Html.tsx +++ b/src/components/Html.tsx @@ -101,7 +101,7 @@ const Wrapper = styled.div` margin: 8px 0; padding: 0 8px; - background-color: #f0f3f8 !important; + background-color: #f0f3f8; border-radius: 4px; white-space: pre-wrap !important; overflow-x: scroll; @@ -122,7 +122,7 @@ const Wrapper = styled.div` font-family: i-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace !important; padding: 2px 8px; - background-color: #f0f3f8 !important; + background-color: #f0f3f8; border-radius: 4px; }