Add CSS for making empty paragraph elements visible

This commit is contained in:
Henrik Giesel 2021-04-19 16:03:47 +02:00
parent 5449198649
commit cd33e1b05f

View File

@ -16,6 +16,16 @@ anki-editable {
}
}
p {
margin-top: 0;
margin-bottom: 1rem;
&:empty::after {
content: "\a";
white-space: pre;
}
}
:host-context(.nightMode) * {
@include scrollbar.night-mode;
}