changeset 193:f1188ce8dd17

css (photo): fixed width on small screens (mobiles) for album__item
author Goffi <goffi@goffi.org>
date Sat, 27 Apr 2019 11:32:10 +0200
parents db2e11c45082
children 9b2646188b7a
files sat_templates/templates/default/static/photo.css
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/default/static/photo.css	Sat Apr 27 11:31:04 2019 +0200
+++ b/sat_templates/templates/default/static/photo.css	Sat Apr 27 11:32:10 2019 +0200
@@ -5,7 +5,8 @@
 
 .album__item {
     width: 400px;
-	margin: 0 0.1em 2em 0.1em;
+    max-width: 100%;
+    margin: 0 0.1em 2em 0.1em;
 }
 
 .album__vignette {