Fix preview scrolling

This commit is contained in:
Daniel Lautzenheiser 2022-09-20 09:42:21 -04:00
parent 35cecbd381
commit 02cfeb8b5a
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@
"pack:app": "cd packages/netlify-cms-app && npm pack",
"pack:ui-default": "cd packages/netlify-cms-ui-default && npm pack",
"pack:widget-file": "cd packages/netlify-cms-widget-file && npm pack",
"pack:git-gateway": "cd packages/netlify-cms-backend-git-gateway && npm pack",
"pack-copy": "mv packages/**/*.tgz ./packs",
"pack-clear": "rm -Rf packs/*",
"pack-all": "run-p pack:* && npm run pack-copy",

View File

@ -18,6 +18,7 @@ const StyledPreviewContent = styled.div`
right: 0;
position: absolute;
height: calc(100% - 66px);
overflow-y: auto;
`;
const PreviewContent = ({ previewComponent, previewProps }: PreviewContentProps) => {