fix: fix shifting in preview/edit story by limiting the story length

This commit is contained in:
MTG2000
2022-07-25 19:57:45 +03:00
parent 2f67c99864
commit 01d9ec0a04
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
@include post-body;
}
.remirror-editor-wrapper {
height: 60vh;
height: calc(min(60vh, 640px));
overflow-y: scroll;
&::-webkit-scrollbar {

View File

@@ -35,7 +35,7 @@
@include gt-xl {
row-gap: unset;
grid-template-rows: repeat(3, auto) 1fr;
grid-template-columns: 1fr calc(min(326px, 25%));
grid-template-areas:
"preview-switch preview-switch"