Skip to content

Commit

Permalink
移动端pdf样式
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Dec 8, 2022
1 parent a43d8dc commit 6b7e35d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions styles/notion.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 6b7e35d

Please sign in to comment.