Further improvements for fragment scrolling (#35481)

* Further fixes for fragment scrolling

* revert Gemfile.lock

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Darren Griffin 2024-10-30 14:20:43 +00:00 committed by GitHub
parent 6ac11930ef
commit 8b68bfdd0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1393,12 +1393,10 @@ h1, h2, h3, h4, h5, h6 {
word-wrap: break-word;
}
:target {
display: block;
:target, .title-link {
display: inline-block;
position: relative;
top: -100px;
visibility: hidden;
scroll-margin-top: 80px;
scroll-margin-top: 140px;
}
.site-header {