Improve mobile layout

This commit is contained in:
Nicolas Mowen
2025-10-21 17:19:00 -06:00
parent d1957535d0
commit 6c33dda19f
3 changed files with 51 additions and 43 deletions
@@ -791,7 +791,7 @@ function StateTrainGrid({
<div
ref={contentRef}
className={cn(
"scrollbar-container flex flex-wrap gap-2 overflow-y-auto p-2",
"scrollbar-container flex flex-wrap gap-3 overflow-y-auto p-2",
isMobile && "justify-center",
)}
>
@@ -927,7 +927,7 @@ function ObjectTrainGrid({
<div
ref={contentRef}
className="scrollbar-container flex flex-wrap gap-2 overflow-y-scroll p-1"
className="scrollbar-container flex flex-wrap gap-3 overflow-y-scroll p-1"
>
{Object.entries(groups).map(([key, group]) => {
const event = events?.find((ev) => ev.id == key);