修复表格样式

This commit is contained in:
tangly
2022-10-21 16:16:53 +08:00
parent 2acd5cc58a
commit 42542a225c
2 changed files with 7 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ const NotionPage = ({ post }) => {
addWatch4Dom()
}, [])
return <div id='container' className='max-w-4xl mx-auto'>
return <div id='container' className='max-w-5xl overflow-x-hidden mx-auto'>
<NotionRenderer
recordMap={post.blockMap}
mapPageUrl={mapPageUrl}

View File

@@ -179,6 +179,10 @@
color: var(--select-color-2) !important;
}
.notion-simple-table {
@apply whitespace-nowrap overflow-x-scroll block
}
.notion-app {
position: relative;
background: var(--bg-color);
@@ -197,8 +201,8 @@
.medium-zoom-overlay {
z-index: 300;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
}
.medium-zoom-image {