From 4b686d86cc59eff3578be3d4661a81086e2f87ff Mon Sep 17 00:00:00 2001 From: sercan Date: Thu, 12 Aug 2021 13:42:59 +0300 Subject: [PATCH] (@fuse/overrides) Fixed: Quill editor is not styled correctly by default --- src/@fuse/styles/overrides/quill.scss | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/@fuse/styles/overrides/quill.scss b/src/@fuse/styles/overrides/quill.scss index bb5ee369..61832818 100644 --- a/src/@fuse/styles/overrides/quill.scss +++ b/src/@fuse/styles/overrides/quill.scss @@ -4,11 +4,12 @@ .ql-toolbar { border-radius: 6px 6px 0 0; padding: 0 !important; - @apply bg-gray-100 border-gray-300; + @apply bg-gray-100; + @apply border-gray-300 border-opacity-100 #{'!important'}; .dark & { background-color: rgba(0, 0, 0, 0.05); - @apply border-gray-500; + @apply border-gray-500 #{'!important'}; } .ql-formats { @@ -81,26 +82,22 @@ .ql-container { overflow: hidden; border-radius: 0 0 6px 6px; - @apply border-gray-300 shadow-sm; + @apply border-gray-300 border-opacity-100 shadow-sm #{'!important'}; .dark & { - @apply border-gray-500; + @apply border-gray-500 #{'!important'}; } .ql-editor { min-height: 160px; max-height: 160px; height: 160px; - @apply bg-gray-50; + @apply bg-card; .dark & { background-color: rgba(0, 0, 0, 0.05); } - &:focus { - @apply bg-card; - } - &.ql-blank::before { @apply text-hint; }