fix: align the tiles, title and padding of the cards
images / check (push) Successful in 32s
images / image (push) Successful in 35s

This commit is contained in:
2026-11-18 16:17:41 +01:00
parent 8df74a849c
commit 177280753d
2 changed files with 17 additions and 6 deletions
+3 -2
View File
@@ -84,7 +84,7 @@ export function TileFace({
return (
<span className={cn(tile, className)}>
<LinkIcon link={link} className="size-14" />
<span className="line-clamp-2 w-full text-center leading-tight break-words [text-shadow:0_1px_8px_rgb(0_0_0/0.6)]">
<span className="line-clamp-2 w-full text-center leading-4.5 break-words [text-shadow:0_1px_8px_rgb(0_0_0/0.6)]">
{link.name}
</span>
</span>
@@ -111,7 +111,8 @@ export function LinkTile({
<div
ref={setNodeRef}
style={{ transform: CSS.Translate.toString(transform), transition }}
className={cn("group relative", isDragging && "opacity-30")}
// flex: the link fills the row's height, also next to a two line name
className={cn("group relative flex", isDragging && "opacity-30")}
>
<a
href={link.url}