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

Improve frontend #1773

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mrica-equinor
Copy link
Contributor

No description provided.

@mrica-equinor mrica-equinor marked this pull request as ready for review October 22, 2024 14:20
@@ -38,7 +37,7 @@ const StyledCard = styled(Card)`
flex: 1 0 0;
padding: 8px 16px;
flex-direction: row;
background: ${tokens.colors.ui.background__light.hex};
background: ${tokens.colors.ui.background__default.hex};
Copy link
Contributor

Choose a reason for hiding this comment

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

When changing the background I would also change the background color of this button:
image

So it matches this:
image

@@ -18,6 +18,9 @@ const Centered = styled.div`
align-items: center;
justify-content: center;
`
const StyledButton = styled(Button)`
padding-left: 10px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a fan of this padding
Before this change:
image

After this change:image

Works on the large button version but not as good on the small version

@@ -129,6 +130,7 @@ export const MissionMapView = ({ mission }: MissionProps) => {

return (
<MapCard style={{ boxShadow: tokens.elevation.raised }}>
<Typography variant="h3">{mission.map?.mapName}</Typography>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a fan of this

If it should be kept the string needs to be formatted (remove "_" and ".png") and it should be removed for default map

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants