mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Fix size of cards in table (#178)
This commit is contained in:
@@ -16,10 +16,11 @@ export function ViewCards(props: TableViewProps<DocumentTableViewCards>) {
|
||||
'md:max-w-3xl',
|
||||
'inline-grid',
|
||||
'gap-4',
|
||||
|
||||
'grid-cols-1',
|
||||
'min-[432px]:grid-cols-2',
|
||||
view.cardSize === 'large'
|
||||
? 'grid-cols-[repeat(auto-fit,_minmax(250px,_1fr))]'
|
||||
: 'grid-cols-[repeat(auto-fit,_minmax(184px,_1fr))]',
|
||||
? 'md:grid-cols-2'
|
||||
: 'md:grid-cols-3',
|
||||
block.data.fullWidth ? ['max-w-full', 'large:flex-column'] : null,
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user