style: tighter cards, center-aligned text next to avatar

This commit is contained in:
2026-08-11 09:16:42 +00:00
parent 766bfaf2f9
commit b8ef26ba8d
+11 -12
View File
@@ -79,15 +79,15 @@ const links: FriendLink[] = [
.links-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 0.85rem;
gap: 0.75rem;
margin-bottom: 2rem;
}
.link-card {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1rem 1.25rem;
align-items: center;
gap: 0.85rem;
padding: 0.65rem 1rem;
border: 1.5px dashed var(--border);
border-radius: 0.75rem;
background: var(--background);
@@ -103,8 +103,8 @@ const links: FriendLink[] = [
}
.link-avatar {
width: 50px;
height: 50px;
width: 42px;
height: 42px;
border-radius: 50%;
flex-shrink: 0;
object-fit: cover;
@@ -114,21 +114,20 @@ const links: FriendLink[] = [
.link-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.15rem;
min-width: 0;
justify-content: center;
}
.link-name {
font-weight: 600;
font-size: 1.1rem;
line-height: 1.4;
font-size: 1rem;
line-height: 1.3;
}
.link-desc {
font-size: 0.88rem;
font-size: 0.82rem;
color: var(--muted-foreground);
line-height: 1.4;
line-height: 1.3;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;