From fd0b0db964a66e0670c4c4e5bb6718f619e6b144 Mon Sep 17 00:00:00 2001 From: JonathanMM Date: Fri, 25 Feb 2022 21:31:59 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20#48:=20Ajout=20d'une=20scroll=20bar=20sur?= =?UTF-8?q?=20grand=20=C3=A9cran=20aussi=20si=20n=C3=A9cessaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/jeu.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/jeu.css b/public/jeu.css index 6179969..4ae354d 100644 --- a/public/jeu.css +++ b/public/jeu.css @@ -238,6 +238,8 @@ h1 { display: flex; flex-direction: column; padding: 0.5em; + overflow-y: auto; + max-height: calc(100vh - 4em - 2px); } #panel-fenetre-header { @@ -312,8 +314,6 @@ h1 { #panel-fenetre { width: 90%; - overflow-y: auto; - max-height: calc(100vh - 4em - 2px); } }