mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Notion 视频样式修复
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user