Notion 视频样式修复

This commit is contained in:
tangly1024.com
2024-04-22 14:09:34 +08:00
parent bc298255e2
commit f00897884b
2 changed files with 4 additions and 4 deletions

View File

@@ -3,8 +3,8 @@ import '@/styles/globals.css'
import '@/styles/utility-patterns.css'
// core styles shared by all of react-notion-x (required)
import '@/styles/notion.css' // 重写部分样式
import 'react-notion-x/src/styles.css'
// import 'react-notion-x/src/styles.css' // 原版的react-notion-x
import '@/styles/notion.css' // 重写notion样式
import useAdjustStyle from '@/hooks/useAdjustStyle'
import { GlobalContextProvider } from '@/lib/global'

View File

@@ -706,7 +706,7 @@ svg.notion-page-icon {
}
.notion-asset-wrapper-full {
/* max-width: 100vw; */
max-width: inherit;
}
.notion-asset-wrapper img {
@@ -1565,7 +1565,7 @@ code[class*='language-'] {
}
.notion-asset-wrapper-full {
max-width: 100vw;
max-width: inherit;
}
}