From 9d8ccbac3c9802976b260af48be927c0637e6662 Mon Sep 17 00:00:00 2001 From: mouazkh Date: Mon, 25 May 2026 22:19:03 +0300 Subject: [PATCH] fixed my propries page and fixed the sidebar again mouaz is the best in the west --- app/components/FloatingSidebar.js | 10 ++++++---- app/owner/properties/page.js | 3 ++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/components/FloatingSidebar.js b/app/components/FloatingSidebar.js index c9b8b77..1f1a275 100644 --- a/app/components/FloatingSidebar.js +++ b/app/components/FloatingSidebar.js @@ -29,8 +29,10 @@ export default function FloatingSidebar({ isRTL, isAdmin }) { const positionStyle = { left: '16px', - top: '50%', - transform: 'translateY(-50%)', + top: 0, + bottom: 0, + display: 'flex', + alignItems: 'center', }; const cardVariants = { @@ -55,13 +57,13 @@ export default function FloatingSidebar({ isRTL, isAdmin }) { return ( -
+
{isAdmin ? ( <>