File tree 2 files changed +15
-1
lines changed
src/components/DevDocTemplate
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2
+ version: v1.25.1
3
+ # ignores vulnerabilities until expiry date; change duration by modifying expiry date
4
+ ignore:
5
+ 'snyk:lic:npm:vercel:analytics:MPL-2.0':
6
+ - '*':
7
+ reason: 'MPL-2.0 license is acceptable for our use case'
8
+ expires: 2025-07-26T20:33:41.647Z
9
+ created: 2024-03-27T20:33:41.649Z
10
+ patch: {}
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ const DevDocTemplate: FC<DevDocTemplateProps> = (props) => {
522
522
id = "wrapper"
523
523
data-theme = { isDarkMode ? 'dark' : 'light' }
524
524
key = { key }
525
+ style = { { height : '100vh' , overflow : 'hidden' } }
525
526
>
526
527
{ isPublicSiteOpen && (
527
528
< Header
@@ -534,7 +535,10 @@ const DevDocTemplate: FC<DevDocTemplateProps> = (props) => {
534
535
ref = { ref as React . RefObject < HTMLDivElement > }
535
536
className = { getClassName ( ) }
536
537
style = { {
537
- height : ! docContent && MAIN_HEIGHT_WITHOUT_DOC_CONTENT ,
538
+ height : ! docContent
539
+ ? MAIN_HEIGHT_WITHOUT_DOC_CONTENT
540
+ : 'calc(100vh - 60px)' ,
541
+ overflow : 'auto' ,
538
542
} }
539
543
>
540
544
{ isPlayGround ? renderPlayGround ( ) : renderDocTemplate ( ) }
You can’t perform that action at this time.
0 commit comments