Skip to content

Commit db6cbbb

Browse files
authored
fix(ui): layer page scrolling & tiling (#705)
* chore: pin yarn version * fix(ui): layer page scrolling & tiling
1 parent 37f6bdd commit db6cbbb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ui/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@
4242
"typescript": "^5.3.3",
4343
"typescript-eslint": "^8.11.0",
4444
"vite": "^7.0.0"
45-
}
46-
}
45+
},
46+
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
47+
}

ui/src/pages/Layers.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ const Layers: React.FC = () => {
195195
</SlidingPane>
196196
<div
197197
className={`
198+
h-full
198199
flex
199200
flex-col
200201
p-6
@@ -401,7 +402,7 @@ const Layers: React.FC = () => {
401402
`}
402403
>
403404
{view === 'grid' ? (
404-
<div className="grid grid-cols-[repeat(auto-fit,minmax(400px,calc(100%/3)))] p-6 gap-6">
405+
<div className="grid grid-cols-[repeat(auto-fit,minmax(400px,1fr))] p-6 gap-6">
405406
{layersQuery.isLoading ? (
406407
Array.from({ length: 100 }).map((_, index) => (
407408
<CardLoader key={index} variant={theme} />

0 commit comments

Comments
 (0)