simple-dash-fork

A simple, fully responsive dashboard - fork with some customisations
git clone https://git.ortlepp.eu/simple-dash-fork.git/
Log | Files | Refs | README | LICENSE

commit e2e8f488bfcad871fe24173722d631596580ef97
parent 40909408a8ca36720fdee4d5f5e5b3880e7503e5
Author: Lucian I. Last <li@last.nl>
Date:   Mon, 12 Nov 2018 20:14:37 +0100

Center grid

Diffstat:
Mcommon/css/main.css | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/common/css/main.css b/common/css/main.css @@ -17,14 +17,15 @@ body { } #wrapper { - text-align: center; + height: 100%; + display: grid; } .itemlist { display: inline-grid; grid-template-columns: repeat(2, 1fr); - margin: 0.5em 0; + margin: auto; } -@media only screen and (min-width: 600px) and (max-width: 799px) { +@media only screen and (min-width: 600px) { .itemlist { grid-template-columns: repeat(3, 1fr); }