-
Notifications
You must be signed in to change notification settings - Fork 9
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
landing page mobile #444
Conversation
app/components/ContentBox/box.css
Outdated
.main-container-box-table { | ||
flex-direction: column; | ||
height: 550px; | ||
margin-bottom: var(--spacing-40); |
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.
app/components/Footer/footer.css
Outdated
@media (max-width: 600px) { | ||
.footer-contents { | ||
flex-direction: column; | ||
gap: var(--spacing-32); |
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.
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.
app/components/Grid/grid.css
Outdated
.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); |
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.
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).
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.
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 { |
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.
thanks for using more one-off class names
app/newRoot.css
Outdated
|
||
@media (max-width: 600px) { | ||
.page-body { | ||
padding: 0px 6.333vw; |
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.
cool yeah, and let's make sure we use .page-body
everywhere that uses standard margins, including the footer actually
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.
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) { |
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.
We're using 640
display: none; | ||
} | ||
|
||
@media (max-width: 600px) { |
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.
640px
No description provided.