]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
Merge pull request #30 from freenode/mobile-article
authorJohn Dallahan <redacted>
Wed, 24 Feb 2016 16:49:42 +0000 (18:49 +0200)
committerJohn Dallahan <redacted>
Wed, 24 Feb 2016 16:49:42 +0000 (18:49 +0200)
Article list padded a little on mobile

static/css/style.css

index e2d42164f3535c80a49860b9a8cd2a4e13d5a172..256df8a8f387addeb368c006c7c67de4afb9f83c 100644 (file)
@@ -194,7 +194,7 @@ div.artlist {
     flex-wrap: wrap;
     justify-content: flex-start;
     align-items: stretch;
-    max-width: 600px;
+    max-width: var(--max-width);
     margin: 0 auto;
     margin-top: .5em;
 }
@@ -393,6 +393,10 @@ a.hchild:hover,a.hchild:active {
         border-radius: calc(var(--box-round) / 2);
         margin: 5px 0;
     }
+
+    div.artlist {
+        padding: 0 .3em;
+    }
 }
 
 .footer h2,.footer h3 {