Skip to content
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

Fix scrolling in docs #7982

Merged
merged 4 commits into from
Feb 8, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix mobile menu overlapping and add background to anchor-icon
  • Loading branch information
Falke-Design committed Feb 8, 2022
commit fca1ea884f94ae4259a5ec6ae3cdcfd7c018b62e
13 changes: 13 additions & 0 deletions docs/docs/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ table.plugins td:first-child a {

#toc-copy {
display: none;
z-index: 1;
}

#toc-copy div {
Expand Down Expand Up @@ -834,6 +835,18 @@ tr:target {
margin-top: 14px;
}

.api-page h2[id]:after {
content: '';
margin-left: -32px;
margin-top: 19px;
width: 23px;
height: 23px;
background-color: #fff;
position: absolute;
left: 0;
top: 0;
}

.api-page tr[id] td:first-child:before {
opacity: 0;
}
Expand Down