anki/ts/editor/editable.scss

30 lines
433 B
SCSS
Raw Normal View History

@use 'ts/sass/scrollbar';
anki-editable {
display: block;
overflow-wrap: break-word;
overflow: auto;
padding: 6px;
&:empty::after {
content: "\a";
white-space: pre;
}
* {
max-width: 100%;
}
}
:host-context(.nightMode) * {
@include scrollbar.night-mode;
}
img.drawing {
zoom: 50%;
2021-02-16 18:28:40 +01:00
.nightMode & {
filter: unquote("invert() hue-rotate(180deg)");
}
}