Commit 01dc10d4 authored by Brendan Wong's avatar Brendan Wong Committed by GitHub

fix: scroll behavior on MP on mobile (#6750)

* fix: update overflow

* fix: add margin for mobile

* fix: update css to use built in styling
parent fb3abf27
......@@ -40,6 +40,7 @@ const AuthenticatedHeaderWrapper = styled.div`
display: flex;
flex-direction: column;
flex: 1;
overflow: auto;
`
const HeaderButton = styled(ThemeButton)`
......
......@@ -10,7 +10,7 @@ import { useEffect, useState } from 'react'
import { shouldDisableNFTRoutesAtom } from 'state/application/atoms'
import { useHasPendingTransactions } from 'state/transactions/hooks'
import styled, { useTheme } from 'styled-components/macro'
import { ThemedText } from 'theme'
import { BREAKPOINTS, ThemedText } from 'theme'
import { ActivityTab } from './Activity'
import NFTs from './NFTs'
......@@ -25,6 +25,10 @@ const Wrapper = styled(Column)`
height: 100%;
gap: 12px;
@media screen and (max-width: ${BREAKPOINTS.sm}px) {
margin-bottom: 48px;
}
${PortfolioRowWrapper} {
&:hover {
background: ${({ theme }) => theme.hoverDefault};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment