Repository navigation
fix(challenge): account for browser zoom, add note to challenge (for height challenge) - #37687
Merged
RandellDawson merged 4 commits intoNov 26, 2019
Conversation
6 tasks done
Contributor
Author
|
Let's just use the regex, it's safer I think. |
ojeytonwilliams
requested changes
Nov 14, 2019
ojeytonwilliams
left a comment
Contributor
There was a problem hiding this comment.
I think I'm finally caught up on the discussions around this. I agree that, sadly, regex is the way to go.
With that in mind:
ojeytonwilliams
approved these changes
Nov 14, 2019
ojeytonwilliams
left a comment
Contributor
There was a problem hiding this comment.
Thanks @lasjorg, LGTM now!
RandellDawson
suggested changes
Nov 15, 2019
RandellDawson
left a comment
Member
There was a problem hiding this comment.
Similar problems as #37688. I can pass the challenge with the following which do not actually affect the height.
h4 {
text-align: center;
Height: 25px;
}OR
h4 {
text-align: center;
max-height: 25px;
}OR
h4 {
text-align: center;
myheight: 25px;
}
Contributor
Author
|
Reverted, same argument applies as in #37688 (comment) |
moT01
approved these changes
Nov 19, 2019
moT01
left a comment
Member
There was a problem hiding this comment.
I'm fine with it like this, I tested it pretty thoroughly.
RandellDawson
approved these changes
Nov 26, 2019
Member
|
Thank you for your contribution to the page! 👍 |
lasjorg
deleted the
fix/account-for-browser-zoom-when-getting-element-height
branch
November 28, 2019 04:02
abbathaw
pushed a commit
to abbathaw/freeCodeCamp
that referenced
this pull request
Jul 24, 2020
…height challenge) (freeCodeCamp#37687) * fix(challenge): account for browser zoom, add note to challenge * fix(challenge): use regex for height assert * fix(challenge): remove note * fix(challenge): revert to initial PR code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update index.md)masterbranch of freeCodeCamp.Second go at fixing this challenge. Forum confirmation that this should work. I also added a note about the zoom.
BTW, how do we update the hint forum post?
Closes #18045