Skip to content

Commit a194cba

Browse files
committed
Fix a display issue on mobile bookmarks
1 parent bf331e1 commit a194cba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pages/bookmarks.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Bookmarks = ({ bookmarks }: BookmarksProps): JSX.Element => (
3737
</Container>
3838
<Grid
3939
alignItems="baseline"
40-
gridTemplateColumns={['1fr 1fr', 'repeat(3, 1fr)']}
40+
gridTemplateColumns={['repeat(2, minmax(0, 1fr))', 'repeat(3, 1fr)']}
4141
gridGap={['1rem', '2rem']}
4242
>
4343
{bookmarks.map(({ id, name, created, url }) => (
@@ -115,7 +115,6 @@ export const getServerSideProps = async (): Promise<
115115
GetStaticPropsResult<BookmarksProps>
116116
> => {
117117
const bookmarks = await getBookmarks();
118-
console.log(bookmarks);
119118
return {
120119
props: {
121120
bookmarks: formatBookmarks(bookmarks),

0 commit comments

Comments
 (0)