From ec2bf050d4ba592b4c8316ea0e6a48f4f6974b41 Mon Sep 17 00:00:00 2001 From: fabres Date: Fri, 17 Jul 2026 23:59:23 +0200 Subject: [PATCH] fix(v2): scrollbar ReglesOptionnelles -> .window-content overflow-y:auto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le DOM réel n'a PAS .window-app ni .applicationv2 sur le form. La structure:
> .window-content. overflow: hidden dans le core V2 étouffe le contenu. Fix: #regles-optionnelles > .window-content { overflow-y: auto; } --- css/foundryvtt-reve-de-dragon.css | 8 ++++---- less/foundryvtt-reve-de-dragon.less | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/css/foundryvtt-reve-de-dragon.css b/css/foundryvtt-reve-de-dragon.css index 2719a6e3..4d620ee5 100644 --- a/css/foundryvtt-reve-de-dragon.css +++ b/css/foundryvtt-reve-de-dragon.css @@ -4899,10 +4899,10 @@ body { margin: 0.2rem; padding: 0; } -.system-foundryvtt-reve-de-dragon .window-app.regles-optionnelles.applicationv2 > .window-content > form, -.system-foundryvtt-reve-de-dragon .window-app.dialog-encaissement-tables.applicationv2 > .window-content > form { - flex: 1; - min-height: 0; +.system-foundryvtt-reve-de-dragon .window-app.regles-optionnelles > .window-content, +.system-foundryvtt-reve-de-dragon .window-app.dialog-encaissement-tables > .window-content, +.system-foundryvtt-reve-de-dragon #regles-optionnelles > .window-content, +.system-foundryvtt-reve-de-dragon #dialog-encaissement-tables > .window-content { overflow-y: auto; } .system-foundryvtt-reve-de-dragon .encaissement-tables { diff --git a/less/foundryvtt-reve-de-dragon.less b/less/foundryvtt-reve-de-dragon.less index 8198e5df..12345dbb 100644 --- a/less/foundryvtt-reve-de-dragon.less +++ b/less/foundryvtt-reve-de-dragon.less @@ -74,10 +74,10 @@ padding: 0; } - .window-app.regles-optionnelles.applicationv2 > .window-content > form, - .window-app.dialog-encaissement-tables.applicationv2 > .window-content > form { - flex: 1; - min-height: 0; + .window-app.regles-optionnelles > .window-content, + .window-app.dialog-encaissement-tables > .window-content, + #regles-optionnelles > .window-content, + #dialog-encaissement-tables > .window-content { overflow-y: auto; }