2022-05-13 04:57:07 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<style lang="scss">
|
2022-09-26 01:47:50 +02:00
|
|
|
:global(img) {
|
|
|
|
max-width: var(--editor-default-max-width);
|
|
|
|
max-height: var(--editor-default-max-height);
|
|
|
|
|
|
|
|
&:is([data-editor-shrink="true"]) {
|
|
|
|
max-width: var(--editor-shrink-max-width);
|
|
|
|
max-height: var(--editor-shrink-max-height);
|
|
|
|
}
|
|
|
|
&:is([data-editor-shrink="false"]) {
|
|
|
|
max-width: initial;
|
|
|
|
max-height: initial;
|
|
|
|
}
|
2022-05-13 04:57:07 +02:00
|
|
|
}
|
|
|
|
</style>
|