From 05a5a81736bf94b268ac874681649f2bfe4c4cc9 Mon Sep 17 00:00:00 2001 From: Philson K Philip Date: Tue, 26 Nov 2024 16:22:51 +0530 Subject: [PATCH] Fixed the scrollbar and font-family issues --- src/styles/editor/editor-content.scss | 42 +++++++-------------------- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/src/styles/editor/editor-content.scss b/src/styles/editor/editor-content.scss index 2a5449e4..e3bae584 100644 --- a/src/styles/editor/editor-content.scss +++ b/src/styles/editor/editor-content.scss @@ -166,7 +166,9 @@ font-weight: var(--neeto-editor-content-heading-font-weight); strong { - font-weight: var(--neeto-editor-content-heading-font-weight-bold) !important; + font-weight: var( + --neeto-editor-content-heading-font-weight-bold + ) !important; } } @@ -231,7 +233,6 @@ } &:hover { - h1, h2, h3, @@ -341,31 +342,9 @@ margin: 4px 4px; } } - - .highlight-line { - position: relative; - - &:before { - left: -12px; - } - - &:after { - right: -12px; - } - - &:before, - &:after { - content: ""; - position: absolute; - top: 0px; - width: 12px; - height: 25px; - background-color: inherit; - } - } } - pre>code { + pre > code { background-color: transparent; border-width: 0; border-radius: 0; @@ -373,7 +352,6 @@ font-weight: 400; color: inherit; font-size: inherit; - font-family: inherit; line-height: inherit; white-space: pre-wrap; } @@ -383,8 +361,10 @@ font-weight: var(--neeto-editor-font-medium); color: rgba(var(--neeto-editor-content-blockquote-color)); border-left-width: var(--neeto-editor-content-blockquote-border-left-width); - border-left-color: rgba(var(--neeto-editor-content-blockquote-border-color)); - quotes: "\201C" "\201D" "\2018" "\2019"; + border-left-color: rgba( + var(--neeto-editor-content-blockquote-border-color) + ); + quotes: "\201C""\201D""\2018""\2019"; margin-bottom: var(--neeto-editor-content-blockquote-margin-bottom); padding-left: var(--neeto-editor-content-blockquote-padding-left); @@ -393,11 +373,11 @@ color: inherit; } - &>p::before { + & > p::before { content: "" !important; } - &>p::after { + & > p::after { content: "" !important; } } @@ -666,4 +646,4 @@ background-color: rgb(var(--neeto-editor-gray-300)); } } -} \ No newline at end of file +}