anki/ts/editor/editable.scss
2021-04-15 13:09:49 +02:00

33 lines
496 B
SCSS

@use 'ts/sass/scrollbar';
anki-editable {
display: block;
overflow-wrap: break-word;
overflow: auto;
padding: 6px;
/* Fit bootstraps .rounded */
border-radius: 0.25rem;
&: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)");
}
}