From 29632cfb457c7a3273a5c837dbf66e5003337921 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Tue, 11 Jul 2023 17:02:05 +0800 Subject: [PATCH] fix table dark style --- styles/notion.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/styles/notion.css b/styles/notion.css index f2f437f0..5fd5b4b8 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -179,9 +179,6 @@ color: var(--select-color-2) !important; } -.notion-simple-table { - @apply whitespace-nowrap overflow-x-auto block -} .notion-app { position: relative; @@ -1939,7 +1936,7 @@ svg + .notion-page-title-text { } .notion-simple-table { - width: 100% !important; + @apply whitespace-nowrap overflow-x-auto block w-full border-0 !important; } .notion-asset-wrapper-pdf > div { @@ -2045,8 +2042,8 @@ code.language-mermaid { /* 表格头 */ .notion-simple-table tr:first-child td{ - background-color: #f5f6f8 !important; - @apply text-center font-bold !important; + background-color: #f5f6f8; + @apply text-center font-bold dark:bg-gray-800 !important; }