Skip to content

Commit

Permalink
set max height on ql-editor div (#6095)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miaplacidus authored Jan 5, 2024
1 parent b922412 commit 91d9baf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ const ReactQuillEditor = ({
className={clsx('QuillEditor', className, {
markdownEnabled: isMarkdownEnabled,
})}
scrollingContainer="html"
scrollingContainer="ql-container"
placeholder={placeholder}
tabIndex={tabIndex}
theme="snow"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,22 @@
.ql-container {
min-height: 212px;
max-height: 512px;
overflow-y: scroll;
overflow: auto;
border: none !important;
}

.ql-editor {
min-height: 212px;
max-height: 512px;

&.ql-blank::before {
font-style: normal;
}

& h1 {
font-size: 24px !important;
}

& h2 {
font-size: 20px !important;
}
Expand Down Expand Up @@ -162,11 +165,9 @@

.inner-circle {
border-radius: inherit;
background-image: conic-gradient(
#fff,
rgba(80, 200, 120, 0.3),
rgb(80, 200, 120)
);
background-image: conic-gradient(#fff,
rgba(80, 200, 120, 0.3),
rgb(80, 200, 120));
position: absolute;
z-index: -1;
margin: auto;
Expand All @@ -181,6 +182,7 @@
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
Expand Down Expand Up @@ -294,4 +296,4 @@

.image-uploading {
display: none;
}
}

0 comments on commit 91d9baf

Please sign in to comment.