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

landing page mobile #444

Merged
merged 2 commits into from
Feb 27, 2024
Merged

landing page mobile #444

merged 2 commits into from
Feb 27, 2024

Conversation

mruwnik
Copy link
Collaborator

@mruwnik mruwnik commented Feb 22, 2024

No description provided.

.main-container-box-table {
flex-direction: column;
height: 550px;
margin-bottom: var(--spacing-40);
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good but remember that --spacing-40 turns into I think 24px on mobile, so hope you were trying to make this appear 24px!
image

@media (max-width: 600px) {
.footer-contents {
flex-direction: column;
gap: var(--spacing-32);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think using spacing-80 var, making is 40px for mobile. Sorry for my not super organized system, will try to make it better soon.

.grid-item {
cursor: pointer;
text-align: left;
padding: var(--spacing-32) var(--spacing-32);
min-width: var(--spacing-288);
min-height: var(--spacing-288);
width: var(--spacing-288);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these should be based on viewport width. I generally won't use variables to define content that is not viewport width (e.g. popovers).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

won't that get hairy with very small screen? Also, do you have specific values? :D

@@ -304,6 +304,9 @@ ul {
flex-grow: 2;
}

.centered {
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for using more one-off class names

app/newRoot.css Outdated

@media (max-width: 600px) {
.page-body {
padding: 0px 6.333vw;
Copy link
Contributor

Choose a reason for hiding this comment

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

cool yeah, and let's make sure we use .page-body everywhere that uses standard margins, including the footer actually

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I actually wanted to delete this before pushing :/ I only had it for testing...

@@ -57,3 +57,15 @@
padding: 0;
padding-right: var(--spacing-8);
}

@media (max-width: 600px) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We're using 640

display: none;
}

@media (max-width: 600px) {
Copy link
Contributor

Choose a reason for hiding this comment

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

640px

@melissasamworth melissasamworth merged commit ba02d51 into stampy-redesign Feb 27, 2024
1 check passed
@melissasamworth melissasamworth deleted the landing-css branch February 27, 2024 18:13
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