mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-28 17:01:02 +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 { WHITE_COLOR } from 'config/animations';
|
||||||
import { getPrimaryColor } from 'utils/notification';
|
import { getPrimaryColor } from 'utils/notification';
|
||||||
import Loader from 'components/Loader';
|
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 Props = {
|
||||||
type: string;
|
type: string;
|
||||||
@ -48,6 +50,10 @@ const Wrapper = styled.button`
|
|||||||
border: 1px solid ${props => getPrimaryColor(props.type)};
|
border: 1px solid ${props => getPrimaryColor(props.type)};
|
||||||
transition: ${TRANSITION.HOVER};
|
transition: ${TRANSITION.HOVER};
|
||||||
|
|
||||||
|
@media screen and (max-width: ${SCREEN_SIZE.SM}){
|
||||||
|
padding: 12px 24px;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: ${colors.WHITE};
|
color: ${colors.WHITE};
|
||||||
background: ${props => getPrimaryColor(props.type)};
|
background: ${props => getPrimaryColor(props.type)};
|
||||||
|
Loading…
Reference in New Issue
Block a user