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

article mobile bits #451

Merged
merged 1 commit into from
Feb 27, 2024
Merged

article mobile bits #451

merged 1 commit into from
Feb 27, 2024

Conversation

buddy-web3
Copy link
Member

No description provided.

Comment on lines +133 to +141
@media only screen and (max-width: 640px) {
article .footer-comtainer {
flex-direction: row;
flex-wrap: wrap;
}
article .footer-comtainer > div:nth-child(-n + 2) {
flex: 1 1;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

A couple small typos

Suggested change
@media only screen and (max-width: 640px) {
article .footer-comtainer {
flex-direction: row;
flex-wrap: wrap;
}
article .footer-comtainer > div:nth-child(-n + 2) {
flex: 1 1;
}
}
@media only screen and (max-width: 640px) {
article .footer-container {
flex-direction: row;
flex-wrap: wrap;
}
article .footer-container > div:nth-child(-n + 2) {
flex: 1 1;
}
}

Copy link
Member Author

Choose a reason for hiding this comment

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

@jrhender I noticed the typo as well.. but it's everywhere, not just in my additions.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah I see. Better to keep as is then and fix in another PR I suppose.

flex-direction: row;
flex-wrap: wrap;
}
article .footer-comtainer > div:nth-child(-n + 2) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it a good practice to use div:nth-child as used? Perhaps an additional class would be clearer when reading the code and less likely to break unexpectedly? I don't have a strong feeling here, just thought I would ask.

Suggested change
article .footer-comtainer > div:nth-child(-n + 2) {
article .footer-comtainer .footer-section {

My CSS knowledge is limited, so my apologies if the rationale for the current approach is obvious 😄

Copy link
Member Author

Choose a reason for hiding this comment

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

Both options are fine by me. @mruwnik do you prefer nth-child or a new class?

@jrhender jrhender mentioned this pull request Feb 26, 2024
@melissasamworth
Copy link
Contributor

All looks good to me, let's wait on a final decision re "div:nth-child" before merging

@melissasamworth melissasamworth merged commit 6dd6d7c into stampy-redesign Feb 27, 2024
1 check passed
@melissasamworth melissasamworth deleted the stampy-redesign-437 branch February 27, 2024 18:47
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.

3 participants