From bea7de1e43b2dd7282e29eb726c8b067e74da560 Mon Sep 17 00:00:00 2001 From: adityamittal3107 Date: Wed, 14 May 2025 14:28:19 +0530 Subject: [PATCH 1/2] SCAL-240040 Move the developer doc body below the heading --- src/components/DevDocTemplate/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()} From b83418b2d01348b0e6e14ebb5db27afe9809ad38 Mon Sep 17 00:00:00 2001 From: adityamittal3107 Date: Wed, 14 May 2025 14:43:13 +0530 Subject: [PATCH 2/2] Ignore snyk error --- .snyk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk 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