Fix preview scrolling
This commit is contained in:
parent
35cecbd381
commit
02cfeb8b5a
@ -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",
|
||||
|
@ -18,6 +18,7 @@ const StyledPreviewContent = styled.div`
|
||||
right: 0;
|
||||
position: absolute;
|
||||
height: calc(100% - 66px);
|
||||
overflow-y: auto;
|
||||
`;
|
||||
|
||||
const PreviewContent = ({ previewComponent, previewProps }: PreviewContentProps) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user