Merge pull request #15759 from surajshetty3416/fix-text-editor-style
This commit is contained in:
commit
e0ac23d2de
2 changed files with 17 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue