fix: assets having unreasonable widths and heights

This commit is contained in:
Maze Winther
2026-03-29 15:41:10 +02:00
parent 6018efc5ac
commit b09635064a
2 changed files with 3 additions and 3 deletions
@@ -98,7 +98,7 @@ export function DraggableItem({
{variant === "card" ? ( {variant === "card" ? (
<div <div
ref={dragRef} ref={dragRef}
className={cn("group relative", containerClassName ?? "size-28")} className={cn("group relative", containerClassName ?? "w-28")}
> >
<div <div
className={cn( className={cn(
@@ -317,9 +317,9 @@ function MediaItemList({
return ( return (
<div <div
className={cn(isGrid ? "grid gap-2" : "flex flex-col gap-1")} className={cn(isGrid ? "grid gap-4" : "flex flex-col gap-1")}
style={ style={
isGrid ? { gridTemplateColumns: "repeat(auto-fill, 160px)" } : undefined isGrid ? { gridTemplateColumns: "repeat(auto-fill, 7rem)" } : undefined
} }
> >
{items.map((item) => ( {items.map((item) => (