From 89272dd9a3c31f312f79e82b1e0ea800e9ffb8af Mon Sep 17 00:00:00 2001 From: Gigi Date: Mon, 13 Oct 2025 10:37:16 +0200 Subject: [PATCH] style: left-align text inside author card --- src/styles/components/profile.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/components/profile.css b/src/styles/components/profile.css index 1d38ccf8..1d70bc8a 100644 --- a/src/styles/components/profile.css +++ b/src/styles/components/profile.css @@ -4,9 +4,9 @@ .author-card-avatar { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #2a2a2a; display: flex; align-items: center; justify-content: center; color: #666; } .author-card-avatar img { width: 100%; height: 100%; object-fit: cover; } .author-card-avatar svg { font-size: 2.5rem; } -.author-card-content { flex: 1; min-width: 0; } -.author-card-name { font-size: 1rem; font-weight: 600; color: #ddd; margin-bottom: 0.5rem; } -.author-card-bio { font-size: 0.9rem; color: #999; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } +.author-card-content { flex: 1; min-width: 0; text-align: left; } +.author-card-name { font-size: 1rem; font-weight: 600; color: #ddd; margin-bottom: 0.5rem; text-align: left; } +.author-card-bio { font-size: 0.9rem; color: #999; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; text-align: left; } @media (max-width: 768px) { .author-card-container { padding: 1.5rem 1rem; }