ys2843 opened a new pull request #18571:
URL: https://github.com/apache/incubator-mxnet/pull/18571


   ## Description ##
   Fix #18567 . When clicking an anchor on "contribute" page, the landing 
position shifts.
   The cause: The header's position is `fix` which takes it out of normal flow. 
But the anchors are not aware of it and not counting the height of the header, 
which leads to the overlap between anchor's landing spot and the header.
   This is a common problem from fixed header, here is a bug fix discussed in 
this article from css trick https://css-tricks.com/hash-tag-links-padding/. Fix 
this issue by adding extra padding to each anchor's headings to avoid 
overlapping with header.
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to 
the relevant [JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) 
created (except PRs with tiny changes)
   - [ ] Changes are complete (i.e. I finished coding on this PR)
   
   ### Changes ###
   - [ ] Add css fix to each headings linked by anchors on "contribute" page
   
   ## Comments ##
   - Pending: 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to