mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #1028 from hgiesel/imgmaxwidth
Add max-width: 100% to editable.scss
This commit is contained in:
commit
c63c927301
1 changed files with 9 additions and 5 deletions
|
@ -2,7 +2,7 @@ anki-editable {
|
||||||
display: block;
|
display: block;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 5px;
|
padding: 6px;
|
||||||
|
|
||||||
&:empty::after {
|
&:empty::after {
|
||||||
content: "\a";
|
content: "\a";
|
||||||
|
@ -10,10 +10,14 @@ anki-editable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img.drawing {
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
&.drawing {
|
||||||
zoom: 50%;
|
zoom: 50%;
|
||||||
|
|
||||||
.nightMode & {
|
.nightMode & {
|
||||||
filter: unquote("invert() hue-rotate(180deg)");
|
filter: unquote("invert() hue-rotate(180deg)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue