Commit 2ce5990f authored by aballerr's avatar aballerr Committed by GitHub

fix: fixing header on light mode (#5178)

* fixing header on light mode
parent d5685156
...@@ -8,6 +8,8 @@ export const assetList = style([ ...@@ -8,6 +8,8 @@ export const assetList = style([
gap: { sm: '8', md: '12', lg: '20' }, gap: { sm: '8', md: '12', lg: '20' },
}), }),
{ {
paddingLeft: 14,
paddingRight: 14,
gridTemplateColumns: 'repeat(auto-fill, minmax(160px, 1fr) )', gridTemplateColumns: 'repeat(auto-fill, minmax(160px, 1fr) )',
'@media': { '@media': {
'screen and (min-width: 708px)': { 'screen and (min-width: 708px)': {
......
...@@ -122,6 +122,7 @@ const SweepButton = styled.div<{ toggled: boolean; disabled?: boolean }>` ...@@ -122,6 +122,7 @@ const SweepButton = styled.div<{ toggled: boolean; disabled?: boolean }>`
border: none; border: none;
border-radius: 12px; border-radius: 12px;
padding: 12px 18px 12px 12px; padding: 12px 18px 12px 12px;
margin-right: 14px;
cursor: ${({ disabled }) => (disabled ? 'auto' : 'pointer')}; cursor: ${({ disabled }) => (disabled ? 'auto' : 'pointer')};
color: ${({ toggled, disabled, theme }) => (toggled && !disabled ? theme.accentTextLightPrimary : theme.textPrimary)}; color: ${({ toggled, disabled, theme }) => (toggled && !disabled ? theme.accentTextLightPrimary : theme.textPrimary)};
background: ${({ theme, toggled, disabled }) => background: ${({ theme, toggled, disabled }) =>
......
...@@ -34,6 +34,7 @@ export const FilterButton = ({ ...@@ -34,6 +34,7 @@ export const FilterButton = ({
position="relative" position="relative"
onClick={onClick} onClick={onClick}
padding="12" padding="12"
marginLeft="14"
width={isMobile ? '44' : 'auto'} width={isMobile ? '44' : 'auto'}
height="44" height="44"
whiteSpace="nowrap" whiteSpace="nowrap"
......
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