Skip to content

Commit ca8d44d

Browse files
committed
Mobile style fix
1 parent 2e65a7e commit ca8d44d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/home/HomeTab.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
MdArrowDropDown,
1010
} from 'react-icons/md';
1111
import { useSpring, animated } from 'react-spring';
12-
import { mediaQuery } from '../../lib/styles/media';
12+
import media, { mediaQuery } from '../../lib/styles/media';
1313
import useToggle from '../../lib/hooks/useToggle';
1414
import HomeMobileHeadExtra from './HomeMobileHeadExtra';
1515
import TimeframePicker from './TimeframePicker';
@@ -171,7 +171,7 @@ const Indicator = styled(animated.div)`
171171
const Selector = styled.div`
172172
background: white;
173173
height: 2rem;
174-
width: 5rem;
174+
width: 5.25rem;
175175
border-radius: 4px;
176176
display: flex;
177177
align-items: center;
@@ -192,6 +192,9 @@ const Selector = styled.div`
192192
opacity: 0.75;
193193
}
194194
}
195+
${media.medium} {
196+
font-size: 0.75rem;
197+
}
195198
`;
196199

197200
export default HomeTab;

0 commit comments

Comments
 (0)