change padding

This commit is contained in:
ingawei 2022-09-29 18:32:34 -07:00
parent b2914975fd
commit 96d82401c0

View File

@ -27,13 +27,13 @@ export function ScrollToTopButton(props: { className?: string }) {
return ( return (
<button <button
className={clsx( className={clsx(
'border-greyscale-2 bg-greyscale-1 rounded-full border py-2 px-4 text-sm', 'border-greyscale-2 bg-greyscale-1 rounded-full border py-2 pr-3 pl-2 text-sm',
visible ? 'inline' : 'hidden', visible ? 'inline' : 'hidden',
className className
)} )}
onClick={scrollToTop} onClick={scrollToTop}
> >
<Row className="text-greyscale-6 gap-1 align-middle"> <Row className="text-greyscale-6 gap-2 align-middle">
<ArrowUpIcon className="text-greyscale-4 h-5 w-5" /> <ArrowUpIcon className="text-greyscale-4 h-5 w-5" />
Scroll to top Scroll to top
</Row> </Row>