From 360370db15a0fc0351e18e252d2b34fb76548568 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Sat, 30 May 2026 22:46:19 -0400 Subject: [PATCH] =?UTF-8?q?fix(fusion=5Fclock):=20kill=20portal=20white=20?= =?UTF-8?q?border=20=E2=80=94=20neutralise=20.o=5Ffp=5Fportal=5Fshell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verified from the live DOM that fusion_plating_portal wraps the app in #wrapwrap > main > .o_fp_portal_shell > .o_fp_portal_main > #wrap.o_portal_wrap > .container. The white frame was .o_fp_portal_shell (+ .container max-width), which my earlier wrapper-neutralisation didn't target. Add the shell + inner main + force all wrappers transparent/full-width/no-padding under body:has(.fclk-app). Live on entech 19.0.3.12.4. Co-Authored-By: Claude Opus 4.8 --- fusion_clock/__manifest__.py | 2 +- fusion_clock/static/src/css/portal_clock.css | 22 +++++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/fusion_clock/__manifest__.py b/fusion_clock/__manifest__.py index 77de44f8..249318a5 100644 --- a/fusion_clock/__manifest__.py +++ b/fusion_clock/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Clock', - 'version': '19.0.3.12.3', + 'version': '19.0.3.12.4', 'category': 'Human Resources/Attendances', 'summary': 'Complete Employee T&A with Geofencing, Shifts, Penalties, Overtime, Kiosk, Dashboard & Payroll Export', 'description': """ diff --git a/fusion_clock/static/src/css/portal_clock.css b/fusion_clock/static/src/css/portal_clock.css index 1ac8a69f..f8c9958f 100644 --- a/fusion_clock/static/src/css/portal_clock.css +++ b/fusion_clock/static/src/css/portal_clock.css @@ -104,22 +104,24 @@ body:has(.fclk-app.fclk-dark) { background: #0f1117; } -/* Neutralise the portal layout wrappers so the dark app fills edge-to-edge. - The portal wraps content in #wrapwrap > main > #wrap.o_portal_wrap > - .container, whose Bootstrap max-width (centred) + "pt-3 pb-5" padding is - what showed as a white frame on wider screens. */ +/* Neutralise EVERY portal layout wrapper so the dark app fills edge-to-edge. + Confirmed from the live DOM that the chain is: + #wrapwrap > main > .o_fp_portal_shell > .o_fp_portal_main > + #wrap.o_portal_wrap > .container > .fclk-app + The white frame was .o_fp_portal_shell (the fusion_plating_portal "shell") + plus the Bootstrap .container max-width + "pt-3 pb-5" padding. Make them all + transparent, full-width, no padding/margin/border. */ body:has(.fclk-app) #wrapwrap, body:has(.fclk-app) main, -body:has(.fclk-app) #wrap.o_portal_wrap { +body:has(.fclk-app) .o_fp_portal_shell, +body:has(.fclk-app) .o_fp_portal_main, +body:has(.fclk-app) #wrap.o_portal_wrap, +body:has(.fclk-app) #wrap.o_portal_wrap > .container { background: transparent !important; padding: 0 !important; margin: 0 !important; -} -body:has(.fclk-app) #wrap.o_portal_wrap > .container, -body:has(.fclk-app) main > .container { max-width: 100% !important; - padding: 0 !important; - margin: 0 !important; + border: 0 !important; } .fclk-container {