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 project details map #917

Merged
merged 24 commits into from
Oct 17, 2023

Conversation

NSUWAL123
Copy link
Collaborator

This PR contains UI adjustments made to solve problems encountered on mobile browser of 'Project Details' page due to mobile browser top bar on bottom sheet & footer. And seperating map legend from others tab.

screenshot_20231017_115423_chrome_720
1697523001317_720

NSUWAL123 and others added 22 commits October 11, 2023 10:17
…tion splitted to projectOption component. projectOptions added for others bottomSheet
…emoved, mapLegend removed from projectOptions
@github-actions github-actions bot added the frontend Related to frontend code label Oct 17, 2023
<p className="fmtm-text-2xl">Map Legend</p>
</div>
<div className="fmtm-flex fmtm-flex-col fmtm-gap-4">
{MapDetails.map((data, index) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@NSUWAL123 Can you make a seperate component for this legend ? As right now its packed with too much html elements and rendering multiple elements.

Copy link
Collaborator

@varun2948 varun2948 left a comment

Choose a reason for hiding this comment

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

need some changes on the MapLegends create a maplist component on the same file and destructure it.

@spwoodcock spwoodcock merged commit 1a5e91b into hotosm:development Oct 17, 2023
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Related to frontend code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants