👌 use remSize on IconButton
This commit is contained in:
parent
d43fae592d
commit
b96b9d350a
1 changed files with 2 additions and 1 deletions
|
@ -2,9 +2,10 @@ import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import Button from '../../common/Button';
|
import Button from '../../common/Button';
|
||||||
|
import { remSize } from '../../theme';
|
||||||
|
|
||||||
const ButtonWrapper = styled(Button)`
|
const ButtonWrapper = styled(Button)`
|
||||||
width: 3rem;
|
width: ${remSize(48)};
|
||||||
> svg {
|
> svg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
Loading…
Reference in a new issue