mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-27 08:21:27 +00:00
smaller padding for notification buttons on <SM screens
This commit is contained in:
parent
672e82c376
commit
a22fd911bf
@ -8,7 +8,9 @@ import colors from 'config/colors';
|
||||
import { WHITE_COLOR } from 'config/animations';
|
||||
import { getPrimaryColor } from 'utils/notification';
|
||||
import Loader from 'components/Loader';
|
||||
import { TRANSITION, FONT_SIZE, FONT_WEIGHT } from 'config/variables';
|
||||
import {
|
||||
TRANSITION, FONT_SIZE, FONT_WEIGHT, SCREEN_SIZE,
|
||||
} from 'config/variables';
|
||||
|
||||
type Props = {
|
||||
type: string;
|
||||
@ -48,6 +50,10 @@ const Wrapper = styled.button`
|
||||
border: 1px solid ${props => getPrimaryColor(props.type)};
|
||||
transition: ${TRANSITION.HOVER};
|
||||
|
||||
@media screen and (max-width: ${SCREEN_SIZE.SM}){
|
||||
padding: 12px 24px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: ${colors.WHITE};
|
||||
background: ${props => getPrimaryColor(props.type)};
|
||||
|
Loading…
Reference in New Issue
Block a user