Skip to content

Commit 6601201

Browse files
committed
feat(395): make property selection back button sticky
1 parent fc99fcc commit 6601201

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/components/SinglePropertyDetail.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,8 @@ const SinglePropertyDetail = ({
6868
);
6969

7070
return (
71-
<div
72-
className="w-full p-4"
73-
style={{
74-
paddingRight: "24px",
75-
paddingBottom: "24px",
76-
paddingLeft: "24px",
77-
}}
78-
>
79-
<div className="pb-4">
71+
<div className="w-full px-6 pb-6">
72+
<div className="sticky top-0 py-4 z-10">
8073
<Button
8174
onPress={() => {
8275
setSelectedProperty(null);

0 commit comments

Comments
 (0)