diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 9cd0a44f0794..901e19ae208c 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -589,6 +589,7 @@ textarea { img { max-width: 100%; + height: auto; } button, diff --git a/css/preflight.css b/css/preflight.css index 3e17e71abf5c..92bdc210873f 100644 --- a/css/preflight.css +++ b/css/preflight.css @@ -577,7 +577,7 @@ button, textarea { resize: vertical; } -img { max-width: 100%; } +img { max-width: 100%; height: auto; } button, input, optgroup, select, textarea { font-family: inherit; }