From e9ca27c6e9dd63df965a00c57a08304231eee1d0 Mon Sep 17 00:00:00 2001
From: nicod_ <nicod@lerebooteux.fr>
Date: Mon, 9 Jan 2023 19:36:50 +0100
Subject: [PATCH] =?UTF-8?q?fix=20:=20Eviter=20que=20les=20documents=20ne?=
 =?UTF-8?q?=20d=C3=A9bordent=20en=20mode=20"Affichage=20en=20case"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix #4917
---
 prive/style_prive_plugin_medias.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/prive/style_prive_plugin_medias.html b/prive/style_prive_plugin_medias.html
index 78f92ee2..2b15d295 100644
--- a/prive/style_prive_plugin_medias.html
+++ b/prive/style_prive_plugin_medias.html
@@ -208,7 +208,7 @@ a.bouton_fermer {display:block;text-align:#GET{right};}
 .spip_documents_legende {border:1px solid #GET{foncee};text-align:center;font-size:0.9em;margin:0 0 1em;}
 .spip_documents_legende dt {background:#GET{foncee};color:#fff;padding:5px 3px;font-weight:bold;}
 .spip_documents_legende dd {padding:3px 0;margin:0;}
-.spip_documents_legende dd.vignette {margin:5px 0;} 
+.spip_documents_legende dd.vignette {margin:5px 0;}
 
 .document_utilisations li.item {position:relative;padding-#GET{right}:24px;}
 .document_utilisations li.item .vu {position:absolute;top:0;right:0;}
@@ -450,6 +450,7 @@ h3 .affichages {
 /* Grille en cases des documents. */
 .portfolios .documents_cases .sortable {
 	display:flex;
+	flex-wrap: wrap;
 }
 .portfolios .documents_cases .item {
 	padding: 2px;
-- 
GitLab