1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-03 21:00:55 +00:00

fix scrollbars

This commit is contained in:
slowbackspace 2019-01-03 18:26:37 +01:00
parent 77feccaab2
commit 0bae87acda

View File

@ -20,10 +20,9 @@ const Wrapper = styled.div`
height: 100%; height: 100%;
flex: 1; flex: 1;
align-items: center; align-items: center;
justify-content: space-between;
padding: 0px 30px 0 35px; padding: 0px 30px 0 35px;
max-width: 600px; overflow-y: hidden;
overflow-x: scroll; overflow-x: auto;
`; `;
const StyledNavLink = styled(NavLink)` const StyledNavLink = styled(NavLink)`
@ -31,8 +30,12 @@ const StyledNavLink = styled(NavLink)`
font-size: ${FONT_SIZE.TOP_MENU}; font-size: ${FONT_SIZE.TOP_MENU};
color: ${colors.TEXT_SECONDARY}; color: ${colors.TEXT_SECONDARY};
margin: 0px 4px; margin: 0px 4px;
padding: 20px; padding: 20px 35px;
white-space: nowrap; white-space: nowrap;
@media screen and (max-width: 850px){
padding: 20px;
}
&.active, &.active,
&:hover { &:hover {