anki/ts/editor/editable.scss
Damien Elmes 76127126a6 use relative link to sass file
links relative to workspace root break when invoked from an external
repo
2021-03-28 12:37:21 +10:00

30 lines
433 B
SCSS

@use '../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%;
.nightMode & {
filter: unquote("invert() hue-rotate(180deg)");
}
}