From 4988302bc1079ec438700be83235f007887fd89a Mon Sep 17 00:00:00 2001 From: mouazkh Date: Mon, 25 May 2026 22:50:38 +0300 Subject: [PATCH] fixed my propries page and fixed the sidebar again mouaz is the best in the west --- app/components/FloatingSidebar.js | 8 +++----- app/owner/properties/page.js | 20 ++++++++++++-------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/components/FloatingSidebar.js b/app/components/FloatingSidebar.js index 3f9698c..51ab56a 100644 --- a/app/components/FloatingSidebar.js +++ b/app/components/FloatingSidebar.js @@ -29,10 +29,8 @@ export default function FloatingSidebar({ isRTL, isAdmin }) { const positionStyle = { left: '16px', - top: 0, - bottom: 0, - display: 'flex', - alignItems: 'center', + top: '50%', + transform: 'translateY(-50%)', }; const cardVariants = { @@ -57,7 +55,7 @@ export default function FloatingSidebar({ isRTL, isAdmin }) { return ( { className="bg-white rounded-2xl w-full max-w-4xl max-h-[90vh] overflow-y-auto shadow-2xl" onClick={(e) => e.stopPropagation()} > -
+

{property.title}

تم الإضافة: {new Date(property.createdAt).toLocaleDateString('ar-SA')}

@@ -468,12 +468,15 @@ const PropertyEditModal = ({ isOpen, onClose, property, onSave }) => { className="bg-white rounded-2xl w-full max-w-4xl max-h-[90vh] overflow-y-auto shadow-2xl" onClick={(e) => e.stopPropagation()} > -
+

تعديل العقار

-

يمكنك تعديل أي حقل بالضغط على أيقونة القلم

+

قم بتحديث معلومات العقار

-
@@ -936,7 +939,7 @@ export default function OwnerPropertiesPage() { } return ( -
+
-
+
{property.images && property.images.length > 0 ? ( {property.title} ) : (
@@ -1196,8 +1199,9 @@ export default function OwnerPropertiesPage() {