fix large button on small screens

This commit is contained in:
August Skare
2018-11-06 14:33:31 +01:00
parent eb9d802146
commit 6b8f8580d8

View File

@@ -40,11 +40,18 @@ const Button =
background-color: ${props => props.colors.secondary_alt};
outline: 0;
}
${media.small`
font-size: .875rem;
padding: .5625rem 1.25rem;
font-size: .875rem;
padding: .5625rem 1.25rem;
`}
${props =>
props.large &&
media.small`
font-size: 1rem;
padding: 1rem 1.5rem .75rem;
`}
`;
export default withContext(Button);