From c21354a66368f14a7cb8f10e4496d632b53a8421 Mon Sep 17 00:00:00 2001 From: mrtoine Date: Fri, 12 Dec 2025 18:20:21 +0100 Subject: [PATCH] =?UTF-8?q?modification=20du=20css=20pour=20la=20balise=20?= =?UTF-8?q?
.=20Elle=20=C3=A0=20d=C3=A9sormais=20une=20largeur=20et=20?=
 =?UTF-8?q?une=20longueur=20max.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 static/css/app.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/static/css/app.css b/static/css/app.css
index dc6b046..75bfc8d 100644
--- a/static/css/app.css
+++ b/static/css/app.css
@@ -653,6 +653,10 @@ img {
 
 pre {
     border-radius: 5px;
+    /* Ne dépasse pas du parent en largeur et défile si nécessaire */
+    max-width: 100%;
+    overflow: auto; /* scroll horizontal et vertical si besoin */
+    max-height: 800px;
 }
 
 /* ====== Homepage enhancements ====== */