From 8e158e7646315245b7f4a64b8c02d3c4dbd888f6 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Fri, 15 Sep 2023 15:46:24 -0400 Subject: [PATCH] Moving the sign out nav item to the right --- .../uswds/_uswds-theme-custom-styles.scss | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index a2f148fc3..22e888325 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -33,10 +33,19 @@ i.e. } } -.usa-nav__primary > .usa-nav__primary-item > a { - font-size: size("body", 4); +.usa-nav__primary { + &> .usa-nav__primary-item > a { + font-size: size("body", 4); + } + &> .usa-nav__primary-item:last-child { + margin-left: auto; + @include u-margin-right(-4); + } } +.usa-nav__primary + + h1 { font-weight: bold !important; } @@ -444,15 +453,3 @@ details form { letter-spacing: 0.04em; } -// .textbox-colour-preview { -// @include govuk-media-query($from: desktop) { -// width: 38px; -// height: 38px; -// margin-left: 5px; -// border-radius: 50%; -// box-shadow: inset 0 0 0 1px rgba(govuk-colour("black"), 0.2); -// display: inline-block; -// vertical-align: top; -// transition: background 0.3s ease-out; -// } -// } \ No newline at end of file