From 6cc44e98fca540097852558bcdc4709ea7be4e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Lundgren?= Date: Wed, 14 Mar 2018 00:52:44 +0100 Subject: [PATCH 1/2] Add height: auto; to img tag in preflight --- css/preflight.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } From dd9e1dcc04def3de0d687b5b8bc61078cb43ce46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Lundgren?= Date: Wed, 14 Mar 2018 01:20:05 +0100 Subject: [PATCH 2/2] Update test --- __tests__/fixtures/tailwind-output.css | 1 + 1 file changed, 1 insertion(+) 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,