Skip to content

Commit

Permalink
feat(ui): limit width of layer cards to a third of the grid (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasMrqes authored Jan 16, 2025
1 parent de3ae39 commit bc773de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/Layers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ const Layers: React.FC = () => {
`}
>
{view === 'grid' ? (
<div className="grid grid-cols-[repeat(auto-fit,_minmax(400px,_1fr))] p-6 gap-6">
<div className="grid grid-cols-[repeat(auto-fit,_minmax(400px,calc(100%/3)))] p-6 gap-6">
{layersQuery.isLoading ? (
Array.from({ length: 100 }).map((_, index) => (
<CardLoader key={index} variant={theme} />
Expand Down

0 comments on commit bc773de

Please sign in to comment.