From cbdb5906149b5c357706ef3d912e8cfd320fcfaa Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 8 Dec 2022 17:04:21 +0800 Subject: [PATCH] =?UTF-8?q?simple=20table=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/notion.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/styles/notion.css b/styles/notion.css index 0f313528..c85608a9 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -1910,10 +1910,6 @@ pre[class*='language-'] { width: 100% !important; } -.notion-simple-table td { - white-space: nowrap; -} - .pre-mac { position: relative; margin-top: -7px; @@ -1984,4 +1980,16 @@ pre[class*='language-'] { .react-pdf__Page__canvas,.react-pdf__Page__textContent{ width: 100% !important; height: auto !important; -} \ No newline at end of file +} + + +/* simple table设置 */ +table,thead,tbody{ + display:block +} + +thead, tbody tr { + display:table; + width:100%; + table-layout:fixed; +}