From e50631c46afa89b1c3d5f73cc3996d2ec58134cb Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Sun, 17 May 2026 23:24:42 -0400 Subject: [PATCH] fix(portal): align right column top with sidebar top Odoo's portal_layout wraps page content in
. The pt-3 (1rem) was pushing the right column's first visible content ~16px below the sidebar card's top edge, so the two column corners looked misaligned. Zero out the top padding on that inner container, scoped via .o_fp_portal_main #wrap > .container so it only applies inside our shell. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../static/src/scss/fp_portal_sidebar.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss b/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss index f959144d..e704201f 100644 --- a/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss +++ b/fusion_plating/fusion_plating_portal/static/src/scss/fp_portal_sidebar.scss @@ -155,4 +155,11 @@ // min-width: 0 lets the flex/grid child shrink and lets overflow-x // on inner .table-responsive containers do their job on Safari. min-width: 0; + + // Neutralise Odoo's container pt-3 so the right column's first + // visible content aligns with the sidebar card's top edge. Without + // this the right column starts ~16px lower than the sidebar. + #wrap > .container { + padding-top: 0; + } }