Fix label alignment of FilterButton

This commit is contained in:
Sakura Knoll
2022-01-16 09:48:45 +09:00 Unverified
parent f70350d8db
commit 64388381f5
+2 -2
View File
@@ -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>
) )
} }