Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Property List Controls - 594 #611

Merged
2 changes: 1 addition & 1 deletion src/components/PropertyDetailSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const PropertyDetailSection: FC<PropertyDetailSectionProps> = ({
/>
) : (
<>
<div className="flex flex-wrap flex-grow h-full min-h-[calc(100svh-101px)] max-h-[calc(100svh-101px)]">
<div className="flex flex-wrap flex-grow h-full min-h-[calc(100svh-101px)] max-h-[calc(100svh-101px)] mt-2">
{display === "list" ? (
<Table
aria-label="Property Details"
Expand Down
6 changes: 3 additions & 3 deletions src/components/SidePanelControlBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const SearchBarComponent: FC<SidePanelControlBarProps> = ({
<div>{/* Keep empty while loading */}</div>
) : (
<>
<div className="flex justify-between items-center bg-white border-b-[1px] border-[#12121215] p-2 h-14">
<div className="flex justify-between -mx-6 px-12 top-0 py-4 z-10 bg-white">
{/* Left-aligned content: Total Properties in View */}
<ThemeButton
color="tertiary"
Expand All @@ -86,7 +86,7 @@ const SearchBarComponent: FC<SidePanelControlBarProps> = ({
)
}
/>
<div className="sm:px-4 py-2">
<div className="sm:px-4 lg:px-0 py-2">
<h1 className="body-md">
<span className="font-bold">
{shouldFilterSavedProperties
Expand Down Expand Up @@ -151,7 +151,7 @@ const SearchBarComponent: FC<SidePanelControlBarProps> = ({
label={<span className="body-md max-lg:hidden">Download</span>}
className={`max-md:min-w-[4rem] ${
smallScreenMode === "map" ? "max-sm:hidden" : ""
}`}
} px-0`}
/>
</div>
</div>
Expand Down