fix: align the tiles, title and padding of the cards
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user