From 0943fd1d1914fba1d97394d229aefba20b8ddb94 Mon Sep 17 00:00:00 2001 From: glpshchn <464976@niuitmo.ru> Date: Fri, 5 Dec 2025 01:20:08 +0300 Subject: [PATCH] Update files --- frontend/src/components/FollowListModal.css | 44 +++++++++++---------- frontend/src/components/FollowListModal.jsx | 4 +- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/frontend/src/components/FollowListModal.css b/frontend/src/components/FollowListModal.css index 37c67a4..443248e 100644 --- a/frontend/src/components/FollowListModal.css +++ b/frontend/src/components/FollowListModal.css @@ -103,10 +103,10 @@ } .user-item-wrapper { - padding: 4px 12px; + padding: 8px 16px; display: flex; align-items: center; - gap: 8px; + gap: 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.03); } @@ -120,27 +120,28 @@ .user-item { display: flex; - align-items: flex-start; - gap: 8px; + align-items: center; + gap: 12px; cursor: pointer; transition: background 0.2s; - padding: 4px; - border-radius: 4px; + padding: 0; + border-radius: 0; position: relative; flex: 1; + min-height: 54px; } .user-item:active { - background: var(--bg-primary); + background: transparent; } .follow-list-modal .user-avatar { - width: 36px !important; - height: 36px !important; - min-width: 36px !important; - min-height: 36px !important; - max-width: 36px !important; - max-height: 36px !important; + width: 54px !important; + height: 54px !important; + min-width: 54px !important; + min-height: 54px !important; + max-width: 54px !important; + max-height: 54px !important; border-radius: 50%; object-fit: cover; flex-shrink: 0; @@ -151,13 +152,14 @@ min-width: 0; display: flex; flex-direction: column; - gap: 1px; + gap: 2px; text-align: left; align-items: flex-start; + justify-content: center; } .follow-list-modal .user-name { - font-size: 13px !important; + font-size: 15px !important; font-weight: 600; color: var(--text-primary); line-height: 1.3; @@ -177,12 +179,12 @@ /* Follow Button Icon */ .follow-btn-icon { - width: 36px !important; - height: 36px !important; - min-width: 36px !important; - min-height: 36px !important; - max-width: 36px !important; - max-height: 36px !important; + width: 54px !important; + height: 54px !important; + min-width: 54px !important; + min-height: 54px !important; + max-width: 54px !important; + max-height: 54px !important; border-radius: 50%; background: var(--bg-primary); color: var(--text-primary); diff --git a/frontend/src/components/FollowListModal.jsx b/frontend/src/components/FollowListModal.jsx index 7c526c7..bf703ba 100644 --- a/frontend/src/components/FollowListModal.jsx +++ b/frontend/src/components/FollowListModal.jsx @@ -112,9 +112,9 @@ export default function FollowListModal({ users, title, onClose, currentUser }) onClick={(e) => handleFollowToggle(user._id, e)} > {isFollowing ? ( - + ) : ( - + )} )}