From 22f8aa0654e62229ba9d23a1a7db94dacc0463c1 Mon Sep 17 00:00:00 2001 From: Nathan Hunzaker Date: Thu, 11 Jul 2019 10:42:06 -0700 Subject: [PATCH] Add height: auto to image cells Allows for easier responsive images. --- app/assets/stylesheets/active_material/prototypes/table.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/active_material/prototypes/table.scss b/app/assets/stylesheets/active_material/prototypes/table.scss index 39eac8b..58d7e62 100644 --- a/app/assets/stylesheets/active_material/prototypes/table.scss +++ b/app/assets/stylesheets/active_material/prototypes/table.scss @@ -92,6 +92,7 @@ $am-table-border-color: am-color(divider); img { display: block; + height: auto; max-width: 320px; width: 100%; }