Repository navigation
London | 26-ITP-Sep | Shirin Panahian | Sprint 1| Form Controls #1496
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
base: main
Are you sure you want to change the base?
Changes from 7 commits
e44425b
719578f
dd8d708
bb6df86
ee957cb
632ad1a
e2b259c
ae5aab4
f208c91
3f84f50
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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| input, | ||
| select, | ||
| button{ | ||
| min-height: 40px; | ||
| padding: 10px; | ||
| font-size: 16px; | ||
| } | ||
| button{ | ||
| padding: 12px,24px; | ||
|
Contributor
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. There's a comma between the two values, which isn't valid CSS, so the browser drops this rule and the button keeps the 10px padding from the rule above. What separates values in a shorthand property?
Author
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. I corrected it. In CSS shorthand properties, values are separated by spaces, not commas.
Contributor
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. Correct, and the button now gets its padding. |
||
| } | ||
| form > div{ | ||
| margin-bottom: 16px; | ||
| } | ||
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.
This comment was an instruction from the starter file. Now you've done it, it can go.
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.
Hi, I’ve fixed the formatting in both files using Prettier and removed the starter comment as requested. I’ve also committed and pushed the changes. Please have another look when you have a chance. Thank you!
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.
Seen, thanks. Marking it Complete.