Skip to content

Commit

Permalink
feat: responsive icons
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhadwen committed Jul 8, 2020
1 parent 98b094e commit 3de74dc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/accordion/styles/accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export const Header = styled.div`
img {
filter: brightness(0) invert(1);
width: 24px;
@media (max-width: 600px) {
width: 16px;
}
}
@media (max-width: 600px) {
Expand Down
4 changes: 4 additions & 0 deletions src/components/card/styles/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ export const FeatureText = styled.p`
color: white;
font-weight: ${({ fontWeight }) => (fontWeight === 'bold' ? 'bold' : 'normal')};
margin: 0;
@media (max-width: 600px) {
line-height: 22px;
}
`;

export const Feature = styled.div`
Expand Down
4 changes: 4 additions & 0 deletions src/components/opt-form/styles/opt-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export const Button = styled.button`
margin-left: 10px;
filter: brightness(0) invert(1);
width: 24px;
@media (max-width: 1000px) {
width: 16px;
}
}
&:hover {
Expand Down

0 comments on commit 3de74dc

Please sign in to comment.