Skip to content

Commit bc773de

Browse files
authored
feat(ui): limit width of layer cards to a third of the grid (#502)
1 parent de3ae39 commit bc773de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/pages/Layers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ const Layers: React.FC = () => {
390390
`}
391391
>
392392
{view === 'grid' ? (
393-
<div className="grid grid-cols-[repeat(auto-fit,_minmax(400px,_1fr))] p-6 gap-6">
393+
<div className="grid grid-cols-[repeat(auto-fit,_minmax(400px,calc(100%/3)))] p-6 gap-6">
394394
{layersQuery.isLoading ? (
395395
Array.from({ length: 100 }).map((_, index) => (
396396
<CardLoader key={index} variant={theme} />

0 commit comments

Comments
 (0)