A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: improve hr styling (#9377)
Abdullah Attae60370d4dcf9
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.cssindex 0fbc857b8..b59a9488b 100644--- a/packages/editor/styles/styles.css+++ b/packages/editor/styles/styles.css@@ -38,15 +38,24 @@margin-block: 0px;cursor: pointer;position: relative;- background-color: var(--separator);width: 100%;- height: 2px;- margin-top: 4px;- margin-bottom: 4px;+ padding-top: 10px;+ padding-bottom: 10px;+ border-radius: 5px;}-.ProseMirror hr.ProseMirror-selectednode::after {- border: 2px solid var(--accent);+.ProseMirror hr::before {+ content: "";+ position: absolute;+ top: 50%;+ left: 0;+ right: 0;+ height: 1px;+ background-color: var(--separator);+}++.ProseMirror hr.ProseMirror-selectednode {+ background-color: var(--background-secondary);}.ProseMirror p code {@@ -402,17 +411,13 @@ img.ProseMirror-separator {.ProseMirror blockquote {margin-inline: 5px;padding-inline-start: 10px;-}--.ProseMirror a > span.image-view-content-wrap {- display: block;- margin-inline: 5px;- padding-inline-start: 10px;-}+ }-.ProseMirror hr {- height: 5px;-}+ .ProseMirror a > span.image-view-content-wrap {+ display: block;+ margin-inline: 5px;+ padding-inline-start: 10px;+ }}