From 56681334f2e7b3a2eaf4601f6dfa62b17044529f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 10 Sep 2017 18:50:16 +0200 Subject: [PATCH] css: compress the code a bit, finish the doc comment. --- css/m-grid.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/css/m-grid.css b/css/m-grid.css index 661feeee..64cfdb25 100644 --- a/css/m-grid.css +++ b/css/m-grid.css @@ -10,6 +10,7 @@ body { /* 12-column layout. Inspired by Bootstrap and https://www.w3schools.com/css/css_rwd_grid.asp */ .m-container { + width: 100%; margin: auto; padding: 1rem; } @@ -17,10 +18,7 @@ body { margin-left: -1rem; margin-right: -1rem; } -.m-container { - width: 100%; -} -.m-row:after { /* */ +.m-row:after { /* avoid rows floating around each other */ content: ' '; clear: both; display: table; -- 2.30.2