From 5bc9bba7d3984d1eefff620dbc5f407361e777d3 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Fri, 24 Nov 2017 00:34:27 +0100 Subject: [PATCH] Avoid issue with long album names (photoswipe) --- sigal/themes/photoswipe/static/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sigal/themes/photoswipe/static/styles.css b/sigal/themes/photoswipe/static/styles.css index 77ba23d..edd709a 100644 --- a/sigal/themes/photoswipe/static/styles.css +++ b/sigal/themes/photoswipe/static/styles.css @@ -127,6 +127,9 @@ figcaption { .album_title { display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .video { @@ -181,6 +184,7 @@ figcaption { .gallery__img--secondary { width: 25%; float:left; + margin-bottom: 1em; } .gallery__title {