From 6b7e35da8f3468d4c4601144ce737135822987ea Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 8 Dec 2022 16:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AFpdf=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/notion.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/styles/notion.css b/styles/notion.css index adf92a8c..0f313528 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -1978,4 +1978,10 @@ pre[class*='language-'] { .notion-asset-wrapper-pdf>div{ width:unset!important +} + +/* pdf预览适配页面 */ +.react-pdf__Page__canvas,.react-pdf__Page__textContent{ + width: 100% !important; + height: auto !important; } \ No newline at end of file