From 4353022588b7fee48f72c3f4db24115599c0cb40 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 16 Feb 2018 12:33:13 -0700 Subject: [PATCH] Double tile width on mobile viewports --- lib/gencontent.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/gencontent.php b/lib/gencontent.php index fb70822..c6f1378 100644 --- a/lib/gencontent.php +++ b/lib/gencontent.php @@ -150,9 +150,18 @@ foreach ($tiles as $tile) { ?> #tile- { order: ; - width: %; - flex-basis: %; - flex: 0 0 calc(% - 10px); + width: %; + flex-basis: %; + flex: 0 0 calc(% - 10px); + } + + @media (min-width: 768px) { + #tile- { + order: ; + width: %; + flex-basis: %; + flex: 0 0 calc(% - 10px); + } }