From 89c381086bf11a978246659e6552275f427ffaf2 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Tue, 18 Sep 2018 16:07:47 -0500 Subject: [PATCH] Remove fixed height and add masonry-based layout --- services/web/public/stylesheets/app/templates-v2.less | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/web/public/stylesheets/app/templates-v2.less b/services/web/public/stylesheets/app/templates-v2.less index 24bebe745f..dc44a70219 100644 --- a/services/web/public/stylesheets/app/templates-v2.less +++ b/services/web/public/stylesheets/app/templates-v2.less @@ -27,11 +27,17 @@ margin-right: @margin-xs; } -.template-thumbnail { +.templates-container { + column-count: 3; + column-gap: 1em; +} +.template-thumbnail { + display: inline-block; + margin: 0 0 1em; + width: 100%; .thumbnail { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); - height: 465px; margin: 5% 0; padding:0px; display: flex;