Skip to content

Commit

Permalink
fix: adjusting style validations
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaseta committed Jan 10, 2025
1 parent 44f003d commit 1810578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/BCHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const BCHeader = () => {
render={({ isSideNavExpanded, onClickSideNavExpand }: HearderContainerProps) => (
<Header
aria-label={componentTexts.completeTitle}
className={`spar-header ${!isSideNavExpanded ? 'spar-header-expanded' : ''}`}
className={`spar-header ${!isSideNavExpanded && 'spar-header-expanded'}`}
data-testid="header"
>
<SkipToContent />
Expand Down Expand Up @@ -184,7 +184,7 @@ const BCHeader = () => {
isChildOfHeader
expanded={isSideNavExpanded}
aria-label={componentTexts.sideMenuAriaLabel}
className={`spar-side-nav ${!isSideNavExpanded ? 'spar-side-nav-expanded' : ''}`}
className={`spar-side-nav ${!isSideNavExpanded && 'spar-side-nav-expanded'}`}
>
<div className="side-nav-top">
{
Expand Down

0 comments on commit 1810578

Please sign in to comment.