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

frontend - feat: add new list view of users on map #4848 #5294

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
minor changes
  • Loading branch information
bakeiro committed Dec 14, 2024
commit 251db12237a693f057350565e2d118a64d144d98
2 changes: 1 addition & 1 deletion app/web/features/search/SearchPage.tsx
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ export default function SearchPage({
const queryClient = new QueryClient();
const classes = useStyles();
const map = useRef<MaplibreMap>();
const searchFromDashboard = !!(locationName || bbox);
const searchFromDashboard = locationName !=="";

// State
const [wasSearchPerformed, setWasSearchPerformed] = useState(false);
3 changes: 2 additions & 1 deletion app/web/features/search/SearchResultsMobileVerticalList.tsx
Original file line number Diff line number Diff line change
@@ -31,10 +31,11 @@ const StyledDrawer = styled("div")<{
const StyledOpenButton = styled(IconButton)(({ theme }) => ({
width: "100%",
marginLeft: 0,
borderRadius: "10px",
borderRadius: "10px 10px 0 0",
backgroundColor: theme.palette.background.default,
maxHeight: "60px",
"& svg": { fontSize: "4rem" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and remove this here (they are different sizes by the way). see below

"&:hover": { backgroundColor: "#e2dcdc" },
}));

const StyledDiv = styled("div")(({ theme }) => ({