diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..83aa8f48e --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.1 +# ignores vulnerabilities until expiry date; change duration by modifying expiry date +ignore: + 'snyk:lic:npm:vercel:analytics:MPL-2.0': + - '*': + reason: 'MPL-2.0 license is acceptable for our use case' + expires: 2025-07-26T20:33:41.647Z + created: 2024-03-27T20:33:41.649Z +patch: {} \ No newline at end of file diff --git a/src/components/DevDocTemplate/index.tsx b/src/components/DevDocTemplate/index.tsx index 05797a120..b74626fe5 100644 --- a/src/components/DevDocTemplate/index.tsx +++ b/src/components/DevDocTemplate/index.tsx @@ -522,6 +522,7 @@ const DevDocTemplate: FC = (props) => { id="wrapper" data-theme={isDarkMode ? 'dark' : 'light'} key={key} + style={{ height: '100vh', overflow: 'hidden' }} > {isPublicSiteOpen && (
= (props) => { ref={ref as React.RefObject} className={getClassName()} style={{ - height: !docContent && MAIN_HEIGHT_WITHOUT_DOC_CONTENT, + height: !docContent + ? MAIN_HEIGHT_WITHOUT_DOC_CONTENT + : 'calc(100vh - 60px)', + overflow: 'auto', }} > {isPlayGround ? renderPlayGround() : renderDocTemplate()}