fix(portal): align right column top with sidebar top

Odoo's portal_layout wraps page content in <div class="container pt-3 pb-5">.
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) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-17 23:24:42 -04:00
parent 76c68e0311
commit e50631c46a

View File

@@ -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;
}
}