Skip to content

Commit

Permalink
narratives: Change mobile banners from div to nav
Browse files Browse the repository at this point in the history
Change the HTML element used for the top and bottom banners on mobile
narratives view from `div`s to the more appropriate `nav` elements.
  • Loading branch information
kairstenfay committed Jan 30, 2020
1 parent 26b247b commit bb9e03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/narrative/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ export const EndOfNarrative = styled.div`
grid-row-gap: 10px;
`;

export const MobileBannerTop = styled.div`
export const MobileBannerTop = styled.nav`
${baseBannerStyles}
top: 0;
height: ${(props) => props.height}px;
background-color: #E67F2C;
`;
export const MobileBannerBottom = styled.div`
export const MobileBannerBottom = styled.nav`
${baseBannerStyles}
bottom: 0;
height: ${(props) => props.height}px;
Expand Down

0 comments on commit bb9e03d

Please sign in to comment.