Skip to content

Commit

Permalink
Ensure PageHeader will sit above other items (#110)
Browse files Browse the repository at this point in the history
Fixes an issue whereby focus rings on PageNavigation items would sit on
top of the header, which looked ugly
  • Loading branch information
stevesims authored and gavinorland committed Nov 7, 2018
1 parent a5da1e8 commit feb3355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/page-header/src/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

exports[`PageHeaderExample renders the storybook example 1`] = `
.emotion-30 {
position: relative;
width: 100%;
color: #ffffff;
background: #0b0c0c;
z-index: 100;
}
.emotion-28 {
Expand Down
2 changes: 2 additions & 0 deletions components/page-header/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ import LogoAnchor from './atoms/logo-anchor';
import NavAnchor from './atoms/nav-anchor';

const StyledPageHeader = styled('header')({
position: 'relative',
width: '100%',
color: WHITE,
background: BLACK,
zIndex: 100,
});

const InnerContainer = styled('div')({
Expand Down

0 comments on commit feb3355

Please sign in to comment.