mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-16 01:56:43 +03:00
Cleanup grid
This commit is contained in:
parent
7e738c6538
commit
8f92ebbe0e
@ -359,12 +359,9 @@ export function GroupedClassificationCard({
|
||||
</Header>
|
||||
<div
|
||||
className={cn(
|
||||
"size-full gap-2",
|
||||
"grid w-full auto-rows-min grid-cols-2 gap-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-6 2xl:grid-cols-8",
|
||||
isDesktop && "p-2",
|
||||
isMobile && "scrollbar-container w-full flex-1 overflow-y-auto",
|
||||
isDesktop
|
||||
? "grid grid-cols-6"
|
||||
: "grid grid-cols-2 justify-items-center gap-2 px-2 sm:grid-cols-5 lg:grid-cols-6",
|
||||
isMobile && "scrollbar-container flex-1 overflow-y-auto",
|
||||
)}
|
||||
>
|
||||
{group.map((data: ClassificationItemData) => (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user