]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
material: add media queries to hide creation date from card actions
authorKevin Decherf <kevin@kdecherf.com>
Sun, 3 Mar 2019 01:16:19 +0000 (02:16 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Sun, 3 Mar 2019 18:22:32 +0000 (19:22 +0100)
Hide the creation date from card actions on specific sizes when there's
not enough space for all parts.

Fixes #3851

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
app/Resources/static/themes/material/css/media_queries.scss

index 1626365e87206d6f24ecf794292cc118132e827c..32d8c4844e579ba4ca4eba5fe84774b903b20582 100644 (file)
     padding: 0;
   }
 }
+
+@media screen and (max-width: 310px),
+  screen and (min-width: 601px) and (max-width: 660px),
+  screen and (min-width: 993px) and (max-width: 1050px),
+  screen and (min-width: 1201px) and (max-width: 1250px) {
+  .card .card-action .reading-time .card-created-at {
+    display: none;
+  }
+}