Merge pull request #15759 from surajshetty3416/fix-text-editor-style

This commit is contained in:
Suraj Shetty 2022-01-27 15:59:04 +05:30 committed by GitHub
commit e0ac23d2de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -231,6 +231,10 @@
--highlight-shadow: 1px 1px 10px var(--blue-50), 0px 0px 4px var(--blue-600);
// code block
--code-block-bg: var(--gray-900);
--code-block-text: var(--gray-400);
// Border Sizes
--border-radius-sm: 4px;
--border-radius: 6px;

View file

@ -42,6 +42,7 @@
height: 300px;
border-bottom-left-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
resize: vertical;
}
.ql-stroke {
stroke: var(--icon-stroke);
@ -85,10 +86,22 @@
margin-bottom: 8px;
}
.ql-code-block-container {
background-color: var(--code-block-bg);
color: var(--code-block-text);
padding: var(--padding-xs) var(--padding-sm) !important;
margin-bottom: var(--margin-xs) !important;
margin-top: var(--margin-xs)!important;
border-radius: var(--border-radius-sm);
}
.ql-bubble .ql-editor {
min-height: 100px;
max-height: 300px;
border-radius: var(--border-radius-sm);
.ql-code-block-container {
@extend .ql-code-block-container;
}
}
.ql-mention-list-container {