mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
editor: improve hr styling
This commit is contained in:
@@ -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 {
|
||||
@@ -399,17 +408,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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user