Skip to content

Commit

Permalink
Merge pull request #1907 from habx/fix/5.37/APP-21598
Browse files Browse the repository at this point in the history
APP-21598: fix change background colour of `NavBar` container
  • Loading branch information
habx-auto-merge[bot] authored Jun 11, 2021
2 parents fc513a4 + 0d3ab54 commit 3b5f4d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NavBar/NavBar.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import styled from 'styled-components'

import { transition } from '../animations'
import { Background } from '../Background'
import { palette } from '../palette'
import { theme } from '../theme'

const EXPANDED_SIZE = 332
Expand Down Expand Up @@ -55,7 +54,7 @@ export const NavBarContainer = styled.ul<{ backgroundColor: string }>`
flex-direction: column;
transition: ${transition('width')};
font-family: ${theme.font()};
background: ${palette.purpleDawn[900]};
background: ${(props) => props.backgroundColor};
&[data-hover-icon='true'] {
width: ${DEFAULT_SIZE + 6}px;
Expand Down

0 comments on commit 3b5f4d2

Please sign in to comment.