File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import '@/styles/globals.css'
3
3
import '@/styles/utility-patterns.css'
4
4
5
5
// core styles shared by all of react-notion-x (required)
6
- import '@/styles/notion .css' // 重写部分样式
7
- import 'react-notion-x/src/ styles.css'
6
+ // import 'react-notion-x/src/styles .css' // 原版的react-notion-x
7
+ import '@/ styles/notion .css' // 重写notion样式
8
8
9
9
import useAdjustStyle from '@/hooks/useAdjustStyle'
10
10
import { GlobalContextProvider } from '@/lib/global'
Original file line number Diff line number Diff line change @@ -706,7 +706,7 @@ svg.notion-page-icon {
706
706
}
707
707
708
708
.notion-asset-wrapper-full {
709
- /* max-width: 100vw; */
709
+ max-width : inherit;
710
710
}
711
711
712
712
.notion-asset-wrapper img {
@@ -1565,7 +1565,7 @@ code[class*='language-'] {
1565
1565
}
1566
1566
1567
1567
.notion-asset-wrapper-full {
1568
- max-width : 100 vw ;
1568
+ max-width : inherit ;
1569
1569
}
1570
1570
}
1571
1571
You can’t perform that action at this time.
0 commit comments