diff --git a/assets.css b/assets.css index 4cb1697..b23fb04 100644 --- a/assets.css +++ b/assets.css @@ -3,6 +3,13 @@ */ :where(iframe, img, input, video, select, textarea) { - height: auto; max-width: 100%; } + +/** + * Preserve aspect ratio + */ + +:where(iframe, img[width][height], input, video, select, textarea) { + height: auto; +}