From a899db81a6babae6a8d1c420fed0d87df264880e Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Wed, 22 Jul 2026 16:37:07 -0400 Subject: [PATCH] Updates to header styling to fix Aug 26 upstream changes --- src/app/styles/mit-theme.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/app/styles/mit-theme.scss b/src/app/styles/mit-theme.scss index f2956b1a..297e82c5 100644 --- a/src/app/styles/mit-theme.scss +++ b/src/app/styles/mit-theme.scss @@ -274,7 +274,9 @@ $color-border-default: $color-gray-400; // Style adjustments to logo to handle site title nde-logo { flex-basis: 87px; - padding-right: 24px; + margin-right: 24px; + max-width: 87px; + margin-left: 0 !important; } @media (max-width: 600px) { nde-logo + ng-component.ng-star-inserted { @@ -284,11 +286,18 @@ nde-logo { // Header styles header.top-bar { + display: flex; + justify-content: center; + flex-direction: row; .header-container { + @include applyPrimoContainerWidths; + background: url("https://cdn.mitlibrary.net/files/branding/local/vi-shape7-tp.svg") no-repeat -48px -250px; padding: 32px 0 !important; + nde-user-panel {margin-right: 0;} + > div.flex-row {margin-left: 0 !important;} .main-menu-container { @@ -883,4 +892,4 @@ mat-accordion[displaymode="flat"] { mat-accordion[displaymode="flat"] > [id="nui.getit.service_viewit"] { order: -1; -} +} \ No newline at end of file