mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00

* Custom elements are now namespaces with `anki-` * The element names are inspired by summernote, which have the same naming scheme of "editingArea > editable"
19 lines
298 B
SCSS
19 lines
298 B
SCSS
anki-editable {
|
|
display: block;
|
|
overflow-wrap: break-word;
|
|
overflow: auto;
|
|
padding: 5px;
|
|
|
|
&:empty::after {
|
|
content: "\a";
|
|
white-space: pre;
|
|
}
|
|
}
|
|
|
|
img.drawing {
|
|
zoom: 50%;
|
|
|
|
.nightMode & {
|
|
filter: unquote("invert() hue-rotate(180deg)");
|
|
}
|
|
}
|