From 16cb4d13e44ca4dfa1026fb6b3ccc4d9b860999b Mon Sep 17 00:00:00 2001 From: Muhammed-Rahif Date: Sun, 17 Nov 2024 22:28:04 +0530 Subject: [PATCH] fix(editor): add line numbers on left exit animation --- src/lib/components/Editor/Editor.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/components/Editor/Editor.css b/src/lib/components/Editor/Editor.css index 88735c7..f8392f0 100644 --- a/src/lib/components/Editor/Editor.css +++ b/src/lib/components/Editor/Editor.css @@ -1,5 +1,5 @@ .ql-editor { - @apply h-full w-full overflow-y-auto border-none !px-3 !py-2.5 text-base leading-[136%] outline-none; + @apply h-full w-full overflow-y-auto border-none !px-3 !py-2.5 text-base leading-[136%] outline-none duration-300; } .ql-editor, @@ -19,6 +19,10 @@ @apply text-blue-500; } +.ql-editor > * { + @apply !pl-0 duration-300; +} + @keyframes blink { 0% { opacity: 1;