mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-05-18 05:05:36 +02:00
editor: improve hr styling (#9377)
This commit is contained in:
@@ -38,15 +38,24 @@
|
|||||||
margin-block: 0px;
|
margin-block: 0px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: var(--separator);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2px;
|
padding-top: 10px;
|
||||||
margin-top: 4px;
|
padding-bottom: 10px;
|
||||||
margin-bottom: 4px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ProseMirror hr.ProseMirror-selectednode::after {
|
.ProseMirror hr::before {
|
||||||
border: 2px solid var(--accent);
|
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 {
|
.ProseMirror p code {
|
||||||
@@ -402,17 +411,13 @@ img.ProseMirror-separator {
|
|||||||
.ProseMirror blockquote {
|
.ProseMirror blockquote {
|
||||||
margin-inline: 5px;
|
margin-inline: 5px;
|
||||||
padding-inline-start: 10px;
|
padding-inline-start: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ProseMirror a > span.image-view-content-wrap {
|
.ProseMirror a > span.image-view-content-wrap {
|
||||||
display: block;
|
display: block;
|
||||||
margin-inline: 5px;
|
margin-inline: 5px;
|
||||||
padding-inline-start: 10px;
|
padding-inline-start: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ProseMirror hr {
|
|
||||||
height: 5px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user