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() {