-
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
article mobile bits #451
article mobile bits #451
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -130,3 +130,12 @@ article .footer-comtainer > * { | |||||||||||||||||||||||||||||||||||||
h1.teal { | ||||||||||||||||||||||||||||||||||||||
color: var(--colors-teal-500); | ||||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||||
@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; | ||||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||||
Comment on lines
+133
to
+141
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A couple small typos
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
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.
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.My CSS knowledge is limited, so my apologies if the rationale for the current approach is obvious 😄
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.
Both options are fine by me. @mruwnik do you prefer nth-child or a new class?