aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2019-03-03 20:22:30 +0100
committerGitHub <noreply@github.com>2019-03-03 20:22:30 +0100
commit4ae4fa7b8969d8d158ec71645a8443518676a2ed (patch)
treee75d947c137a1944b90929838623a7f05de5d92e /app/Resources/static
parent806635f7d5d2ee6aa07bc5ae1246f42aef63fb3e (diff)
parent6640a922d1158b1a13e3435de471fc14c9af4563 (diff)
downloadwallabag-4ae4fa7b8969d8d158ec71645a8443518676a2ed.tar.gz
wallabag-4ae4fa7b8969d8d158ec71645a8443518676a2ed.tar.zst
wallabag-4ae4fa7b8969d8d158ec71645a8443518676a2ed.zip
Merge pull request #3894 from wallabag/issue-3851
material: hide creation date from card actions on specific sizes
Diffstat (limited to 'app/Resources/static')
-rw-r--r--app/Resources/static/themes/material/css/cards.scss5
-rw-r--r--app/Resources/static/themes/material/css/media_queries.scss9
2 files changed, 14 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/cards.scss b/app/Resources/static/themes/material/css/cards.scss
index 4cbeb7bd..68001a01 100644
--- a/app/Resources/static/themes/material/css/cards.scss
+++ b/app/Resources/static/themes/material/css/cards.scss
@@ -102,6 +102,11 @@ main {
102 display: inline-flex; 102 display: inline-flex;
103 vertical-align: middle; 103 vertical-align: middle;
104 104
105 .card-reading-time,
106 .card-created-at {
107 display: inline-flex;
108 }
109
105 span { 110 span {
106 margin-right: 5px; 111 margin-right: 5px;
107 } 112 }
diff --git a/app/Resources/static/themes/material/css/media_queries.scss b/app/Resources/static/themes/material/css/media_queries.scss
index 1626365e..32d8c484 100644
--- a/app/Resources/static/themes/material/css/media_queries.scss
+++ b/app/Resources/static/themes/material/css/media_queries.scss
@@ -174,3 +174,12 @@
174 padding: 0; 174 padding: 0;
175 } 175 }
176} 176}
177
178@media screen and (max-width: 310px),
179 screen and (min-width: 601px) and (max-width: 660px),
180 screen and (min-width: 993px) and (max-width: 1050px),
181 screen and (min-width: 1201px) and (max-width: 1250px) {
182 .card .card-action .reading-time .card-created-at {
183 display: none;
184 }
185}