Fix label alignment of FilterButton
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/** @jsxImportSource theme-ui */
|
/** @jsxImportSource theme-ui */
|
||||||
import { useRouter } from 'next/router'
|
import { useRouter } from 'next/router'
|
||||||
import { Link } from 'theme-ui'
|
import { Link, Text } from 'theme-ui'
|
||||||
import SquareImageBox from './SquareImageBox'
|
import SquareImageBox from './SquareImageBox'
|
||||||
|
|
||||||
interface FilterButtonProps {
|
interface FilterButtonProps {
|
||||||
@@ -46,7 +46,7 @@ const FilterButton = ({
|
|||||||
mr={1}
|
mr={1}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{label}
|
<Text sx={{ lineHeight: '30px' }}>{label}</Text>
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user