-
Notifications
You must be signed in to change notification settings - Fork 95
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
Fixed #365 i added scroll-margin-top:5rem to global.css file #366
Conversation
Hello @2div, thanks for raising a pull request in this project. The maintainers of this project are volunteers so please be understanding if it takes time before you get a response. We still appreciate your help with creating pull requests! |
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.
The scroll margin top works great. However, please revert the changes to the package-lock file and the yarn.lock file. As there were no changes made to these files they don't need to be included in the PR. As soon as they are reverted then this is ready to merge.
Thank you for your feedback. Can you please explain what you mean by revert the changes to the package-lock file and the yarn.lock file. I do not think i changed or edited these files. I only edit the global CSS file. May i know what and how to revert these changes you mentioned so that we can do merg ? |
Sure. These files are created when you do npm install or yarn install. And then if you use the command First go to your branch and in the terminal you want to type |
Thank you for your explanation this topic to me. I did not know about it but now i learned from you. I request re-review but i am not sure if that the right thing because its my first time see change requested to PR |
…global.css file" This reverts commit 0a99424.
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 did ' git revert 0a99424` then did ‘git add styles/globals.css’ as per your request.
Great, now the two extra files are gone. For some reason it didn't keep the change that you made to the styles file. If you can add the margin-scroll-top back in and then do |
Ok , I followed the steps and pushed again. Than 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.
Thanks so much for your help!
Describe your changes
h2,
h3,
h4,
h5,
h6 {
margin: 1rem 0 0 0;
scroll-margin-top: 5rem; // i added this line to fix the issue
}
Screenshots - If Any (Optional)
Link to issue
Closes #365
Checklist before requesting a review
and it shows no errors.
Additional Information (Optional)
Any additional information that you want to give us.