From ac2389a0a5d0ed22db7699e17c0445f9bcd2df2c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> Date: Tue, 4 Nov 2014 20:23:46 -0800 Subject: [PATCH] Responsive design now supports up to 4 columns --- .../http/www_static/polymer/states-cards.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/http/www_static/polymer/states-cards.html b/homeassistant/components/http/www_static/polymer/states-cards.html index 3f8e469d55a..a6a1f474669 100755 --- a/homeassistant/components/http/www_static/polymer/states-cards.html +++ b/homeassistant/components/http/www_static/polymer/states-cards.html @@ -19,14 +19,21 @@ } state-card { - width: calc(50% - 42px); + width: calc(50% - 44px); margin: 8px 0 0 8px; } } @media all and (min-width: 1100px) { state-card { - width: calc(33% - 37px); + width: calc(33% - 38px); + + } + } + + @media all and (min-width: 1450px) { + state-card { + width: calc(25% - 42px); } } -- GitLab