aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-11-08 22:17:46 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-11-08 22:17:46 +0100
commit8d7b4f0eff9d07f8d6d354e09fd926abf26aa4ce (patch)
treef8a932f9e991ae49578bff9c70b27fffd78a929c /app
parente9490a344376036978956aedeb213066fdbf49e4 (diff)
downloadwallabag-8d7b4f0eff9d07f8d6d354e09fd926abf26aa4ce.tar.gz
wallabag-8d7b4f0eff9d07f8d6d354e09fd926abf26aa4ce.tar.zst
wallabag-8d7b4f0eff9d07f8d6d354e09fd926abf26aa4ce.zip
Display a bigger image in case of image content
If the content is only an image, we can display a bigger preview image because we won’t have text to display. Also, split different card view to avoid too much complexity in the entries.html.twig
Diffstat (limited to 'app')
-rwxr-xr-xapp/Resources/static/themes/material/css/main.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css
index b5e47300..48a7420a 100755
--- a/app/Resources/static/themes/material/css/main.css
+++ b/app/Resources/static/themes/material/css/main.css
@@ -568,7 +568,12 @@ a.original {
568 height: 10em; 568 height: 10em;
569} 569}
570 570
571.card .card-image .preview { 571.card .card-fullimage {
572 height: 13.5em;
573}
574
575.card .card-image .preview,
576.card .card-fullimage .preview {
572 height: 14em; 577 height: 14em;
573 background-size: cover; 578 background-size: cover;
574 background-repeat: no-repeat; 579 background-repeat: no-repeat;