mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Add CSS for making empty paragraph elements visible
This commit is contained in:
parent
5449198649
commit
cd33e1b05f
1 changed files with 10 additions and 0 deletions
|
@ -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 a new issue