Skip to content

Commit

Permalink
Fixed the scrollbar and font-family issues (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
philson-philip authored Nov 27, 2024
1 parent a21dc6c commit e5bdb7c
Showing 1 changed file with 11 additions and 31 deletions.
42 changes: 11 additions & 31 deletions src/styles/editor/editor-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -231,7 +233,6 @@
}

&:hover {

h1,
h2,
h3,
Expand Down Expand Up @@ -341,39 +342,16 @@
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;
padding: 0;
font-weight: 400;
color: inherit;
font-size: inherit;
font-family: inherit;
line-height: inherit;
white-space: pre-wrap;
}
Expand All @@ -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);

Expand All @@ -393,11 +373,11 @@
color: inherit;
}

&>p::before {
& > p::before {
content: "" !important;
}

&>p::after {
& > p::after {
content: "" !important;
}
}
Expand Down Expand Up @@ -666,4 +646,4 @@
background-color: rgb(var(--neeto-editor-gray-300));
}
}
}
}

0 comments on commit e5bdb7c

Please sign in to comment.