From 64157f89f27f8934e08476be7f42253531eec1ee Mon Sep 17 00:00:00 2001 From: brunoduc <54796327+brunoduc@users.noreply.github.com> Date: Mon, 23 Mar 2020 16:33:22 +0100 Subject: [PATCH] Update gallery.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Optimisation de l'affichage des photos sur de petits écran en mode portrait et paysage. Plus "responsive desgin". --- module/gallery/view/gallery/gallery.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/module/gallery/view/gallery/gallery.css b/module/gallery/view/gallery/gallery.css index 9206e2d7..7374a3f5 100644 --- a/module/gallery/view/gallery/gallery.css +++ b/module/gallery/view/gallery/gallery.css @@ -21,4 +21,15 @@ background: rgba(0, 0, 0, .6); color: #FFF; text-align: center; -} \ No newline at end of file +} +/* Ajout de régles css ---------------------------- */ +.galleryRow { + display: flex; + flex-wrap: wrap; + justify-content: center; +} +.col3 { + width : 16em; + max-width: 50%; + } +/* ----------------------------------------------*/