-
Notifications
You must be signed in to change notification settings - Fork 37
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
Improve mission page #1848
Improve mission page #1848
Conversation
f14103a
to
acb193d
Compare
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-run snyk checks
7419460
to
3e73ddc
Compare
frontend/src/components/Displays/MissionButtons/MissionRestartButton.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snyk ok
frontend/src/components/Pages/MissionPage/MapPosition/MissionMapView.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Outdated
Show resolved
Hide resolved
const StyledMissionPageCardsWidth = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
min-width: 50%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 50%? I would just remove this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what keeps the card with the status, area, etc with the same min-width as the card around the table, otherwise would be smaller than the card around the table (and map)
did not mean to approve - only remove block
47cbbda
to
39d245d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Tested it and did not find any bugs on desktop or phone.
No description provided.