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 e704201f..ad7221c1 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 @@ -162,4 +162,14 @@ #wrap > .container { padding-top: 0; } + + // Templates often slap mt-3 / mt-4 onto their root content div for + // breathing room from the (now-removed) container pt-3. With pt-3 + // zeroed AND our shell already padding the page, those bottom-margin + // utility classes show up as a stray ~16px offset that makes the + // right column top sit lower than the sidebar's top edge. Zero out + // the top margin of the container's first child so everything aligns. + #wrap > .container > :first-child { + margin-top: 0; + } }