Revert "chore: add and fix margins inside super note content [skip e2e]"
This reverts commit 562e1bef17.
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
hr {
|
hr {
|
||||||
padding: 2px 0px;
|
padding: 2px 0px;
|
||||||
border: none;
|
border: none;
|
||||||
margin: 0.825em 0;
|
margin: 1em 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,23 +40,3 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ContentEditable__root,
|
|
||||||
.Collapsible__content {
|
|
||||||
> *:not(:first-child) {
|
|
||||||
margin-block-start: 0.825em;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove extra margin around empty paragraphs
|
|
||||||
.Lexical__paragraph:has(br:first-child) {
|
|
||||||
margin-block-start: 0;
|
|
||||||
|
|
||||||
& + * {
|
|
||||||
margin-block-start: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.Lexical__listItem {
|
|
||||||
margin-block-end: 0.325em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -7,10 +7,13 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.Lexical__paragraph {
|
.Lexical__paragraph {
|
||||||
|
margin: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.Lexical__quote {
|
.Lexical__quote {
|
||||||
|
margin: 0;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
|
margin-bottom: 10px;
|
||||||
color: var(--sn-stylekit-passive-color-1);
|
color: var(--sn-stylekit-passive-color-1);
|
||||||
border-left-color: var(--sn-stylekit-passive-color-1);
|
border-left-color: var(--sn-stylekit-passive-color-1);
|
||||||
border-left-width: 4px;
|
border-left-width: 4px;
|
||||||
@@ -28,18 +31,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.Lexical__h1 {
|
.Lexical__h1 {
|
||||||
font-size: 1.75em;
|
font-size: 26px;
|
||||||
color: var(--sn-stylekit-editor-foreground-color);
|
color: var(--sn-stylekit-editor-foreground-color);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.Lexical__h2 {
|
.Lexical__h2 {
|
||||||
font-size: 1.5em;
|
font-size: 22px;
|
||||||
color: var(--sn-stylekit-editor-foreground-color);
|
color: var(--sn-stylekit-editor-foreground-color);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.Lexical__h3 {
|
.Lexical__h3 {
|
||||||
font-size: 1.3em;
|
font-size: 19px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.Lexical__textBold {
|
.Lexical__textBold {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -88,6 +94,7 @@
|
|||||||
font-family: var(--sn-stylekit-monospace-font), monospace;
|
font-family: var(--sn-stylekit-monospace-font), monospace;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 1.25rem 1.35rem;
|
padding: 1.25rem 1.35rem;
|
||||||
|
margin: 0.5rem 0;
|
||||||
tab-size: 2;
|
tab-size: 2;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -105,6 +112,7 @@
|
|||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
width: calc(100% - 25px);
|
width: calc(100% - 25px);
|
||||||
|
margin: 0.5rem 0;
|
||||||
color: var(--sn-stylekit-contrast-foreground-color);
|
color: var(--sn-stylekit-contrast-foreground-color);
|
||||||
}
|
}
|
||||||
.Lexical__tableSelection *::selection {
|
.Lexical__tableSelection *::selection {
|
||||||
|
|||||||
Reference in New Issue
Block a user