From 10d909711dd72b2ba879e8fd5af48206df2e7342 Mon Sep 17 00:00:00 2001 From: glpshchn <464976@niuitmo.ru> Date: Fri, 5 Dec 2025 01:28:51 +0300 Subject: [PATCH] Update files --- frontend/src/components/PostCard.jsx | 18 ++- frontend/src/components/PostMenu.css | 164 +++++++++++++++++++-------- frontend/src/components/PostMenu.jsx | 135 +++++++++++++++++----- 3 files changed, 243 insertions(+), 74 deletions(-) diff --git a/frontend/src/components/PostCard.jsx b/frontend/src/components/PostCard.jsx index 61e01cd..67b0ff2 100644 --- a/frontend/src/components/PostCard.jsx +++ b/frontend/src/components/PostCard.jsx @@ -29,6 +29,7 @@ export default function PostCard({ post, currentUser, onUpdate }) { const [showFullView, setShowFullView] = useState(false) const [showComments, setShowComments] = useState(false) const [showMenu, setShowMenu] = useState(false) + const [menuButtonPosition, setMenuButtonPosition] = useState(null) // Проверка на существование автора if (!post.author) { @@ -168,8 +169,17 @@ export default function PostCard({ post, currentUser, onUpdate }) { + +