diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index e94b91fe6..e96f14053 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -24,12 +24,13 @@ type PrimaryLink = { }; type Props = { - logoPath?: string; locale?: string; }; const homeRegexp = /^\/(?:e[ns])?$/; +const logoPath = "./img/grants-logo.svg"; + const NavLinks = ({ mobileExpanded, onToggleMobileNav, @@ -120,8 +121,7 @@ const NavLinks = ({ ); }; -const Header = ({ logoPath, locale }: Props) => { - logoPath = "./img/grants-logo.svg"; +const Header = ({ locale }: Props) => { const t = useTranslations("Header"); const [isMobileNavExpanded, setIsMobileNavExpanded] = useState(false); diff --git a/frontend/src/components/user/UserControl.tsx b/frontend/src/components/user/UserControl.tsx index d26113617..55f674cef 100644 --- a/frontend/src/components/user/UserControl.tsx +++ b/frontend/src/components/user/UserControl.tsx @@ -89,7 +89,7 @@ const UserDropdown = ({ menuId="user-control" /> , diff --git a/frontend/src/styles/_uswds-theme-custom-styles.scss b/frontend/src/styles/_uswds-theme-custom-styles.scss index b01191d6c..0d582eaca 100644 --- a/frontend/src/styles/_uswds-theme-custom-styles.scss +++ b/frontend/src/styles/_uswds-theme-custom-styles.scss @@ -405,6 +405,11 @@ button.usa-pagination__button.usa-button { linear-gradient(transparent, transparent); } } + button[aria-expanded] { + span:after { + right: 0.75rem; + } + } .usa-nav__submenu-item { background-color: color("mint-60"); a { @@ -416,7 +421,7 @@ button.usa-pagination__button.usa-button { } } .usa-nav__submenu { - right: 3.6em; + right: 3.7em; } } } diff --git a/frontend/tests/components/Header.test.tsx b/frontend/tests/components/Header.test.tsx index 4e87001c8..a9db65913 100644 --- a/frontend/tests/components/Header.test.tsx +++ b/frontend/tests/components/Header.test.tsx @@ -7,7 +7,6 @@ import { ReadonlyURLSearchParams } from "next/navigation"; import Header from "src/components/Header"; const props = { - logoPath: "/img/logo.svg", locale: "en", };