diff --git a/ts/editable/editable-base.scss b/ts/editable/editable-base.scss index 54e9ef72c..289b6d432 100644 --- a/ts/editable/editable-base.scss +++ b/ts/editable/editable-base.scss @@ -33,6 +33,9 @@ img:not(.mathjax) { :host-context(.shrink-image) & { max-width: var(--editor-default-max-width); max-height: var(--editor-default-max-height); + // prevent inline width/height from skewing aspect ratio + width: unset; + height: unset; } }