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

[chore] Update setup prerequisite card css #679

Merged
merged 2 commits into from
Jul 14, 2024

Conversation

dragon-slayer875
Copy link
Contributor

Notes for Reviewers

This PR updates the SetupPreReq Card component's CSS to have flex: 1 property.
image

Signed commits

  • Yes, I signed my commits.

@dragon-slayer875 dragon-slayer875 requested review from leecalcote and removed request for leecalcote July 13, 2024 14:02
@leecalcote
Copy link
Member

Thank you! Clarification: this means that if only two cards are present, they will split the landscape 50/50, right? And if only one is present, it will consume 100% of the width, right? @dragon-slayer875

Copy link
Contributor Author

Yes sir. Exactly that.

@@ -22,10 +22,10 @@ const ContainerCardWrapper = styled('div')(({ theme }) => ({
}));

const Card = styled('a')(({ theme }) => ({
flex: '1',
padding: '2rem',
textDecoration: 'none',
background: theme.palette.mode === 'light' ? '#EEEEEE' : '#212121',
Copy link
Member

Choose a reason for hiding this comment

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

why this is hard coded colors🤔?

Copy link
Contributor Author

@dragon-slayer875 dragon-slayer875 Jul 13, 2024

Choose a reason for hiding this comment

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

I think Akshay did it because the palette colors were lighter than he required.
This is theme.palette.background.surfaces
image

Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

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

Lgtm

@captain-Akshay captain-Akshay merged commit 4d49584 into layer5io:master Jul 14, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants