Skip to content

Commit

Permalink
Merge pull request #5991 from Armanio/fix/a11y_rules_style
Browse files Browse the repository at this point in the history
Addon-a11y: fix design icons
  • Loading branch information
gaetanmaisse authored and shilman committed Mar 17, 2019
1 parent 3d8a96c commit 96b064f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/a11y/src/components/Report/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const Wrapper = styled.div();
const Icon = styled(Icons)(({ theme }) => ({
height: 10,
width: 10,
minWidth: 10,
color: theme.color.mediumdark,
marginRight: '10px',
transition: 'transform 0.1s ease-in-out',
Expand All @@ -28,6 +29,7 @@ const HeaderBar = styled.button(({ theme }) => ({
border: 0,
background: 'none',
color: 'inherit',
textAlign: 'left',

borderLeft: '3px solid transparent',

Expand Down
4 changes: 4 additions & 0 deletions addons/a11y/src/components/Report/Rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const Status = styled.div(({ passes, impact }) => ({
textAlign: 'center',
flex: '0 0 16px',
color: passes ? impactColors.success : impactColors[impact],
'& > svg': {
height: '16px',
width: '16px',
},
}));

const Rule = ({ rule, passes }) => (
Expand Down

0 comments on commit 96b064f

Please sign in to comment.