Add CSS for making empty paragraph elements visible
This commit is contained in:
parent
5449198649
commit
cd33e1b05f
@ -16,6 +16,16 @@ anki-editable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
&:empty::after {
|
||||||
|
content: "\a";
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
:host-context(.nightMode) * {
|
:host-context(.nightMode) * {
|
||||||
@include scrollbar.night-mode;
|
@include scrollbar.night-mode;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user