Commit edf67e8e authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: add left margin to activity page (#5327)

* add left margin to activity page

* fix margins on filters and on mobile
parent babfebcc
...@@ -130,7 +130,7 @@ export const Activity = ({ contractAddress, rarityVerified, collectionName, chai ...@@ -130,7 +130,7 @@ export const Activity = ({ contractAddress, rarityVerified, collectionName, chai
) )
return ( return (
<Box> <Box marginLeft={{ sm: '16', md: '48' }}>
<Row gap="8" paddingTop={{ sm: '0', md: '16' }}> <Row gap="8" paddingTop={{ sm: '0', md: '16' }}>
<Filter eventType={ActivityEventType.Listing} /> <Filter eventType={ActivityEventType.Listing} />
<Filter eventType={ActivityEventType.Sale} /> <Filter eventType={ActivityEventType.Sale} />
......
...@@ -6,6 +6,7 @@ export const container = style([ ...@@ -6,6 +6,7 @@ export const container = style([
overflow: 'auto', overflow: 'auto',
height: 'viewHeight', height: 'viewHeight',
paddingTop: '4', paddingTop: '4',
marginLeft: { sm: '8', md: '48' },
}), }),
{ {
width: '308px', width: '308px',
......
...@@ -157,7 +157,7 @@ const Collection = () => { ...@@ -157,7 +157,7 @@ const Collection = () => {
width={isMobile ? 'full' : '0'} width={isMobile ? 'full' : '0'}
height={isMobile && isFiltersExpanded ? 'full' : undefined} height={isMobile && isFiltersExpanded ? 'full' : undefined}
background={isMobile ? 'backgroundBackdrop' : undefined} background={isMobile ? 'backgroundBackdrop' : undefined}
zIndex={isMobile ? 'modalBackdrop' : undefined} zIndex="modalBackdrop"
overflowY={isMobile ? 'scroll' : undefined} overflowY={isMobile ? 'scroll' : undefined}
> >
{isFiltersExpanded && ( {isFiltersExpanded && (
......
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