Skip to content

Commit

Permalink
Merge pull request #251 from flotiq/bugfix/24663-section-header-scrol…
Browse files Browse the repository at this point in the history
…l-offset-fix

Section header scroll offset adjusted
  • Loading branch information
CiotkaCierpienia authored May 23, 2024
2 parents f0b86e0 + 404e0b7 commit 73bef5f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/css/flotiq.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.md-typeset h3,
.md-typeset h4,
.md-typeset h5 {

font-weight: bold;
}
.video-wrapper {
Expand Down Expand Up @@ -53,7 +53,7 @@ header.md-header {
}

.md-tabs{

}

.md-sidebar__scrollwrap, .md-content {
Expand Down Expand Up @@ -126,7 +126,7 @@ pre::before {
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5 {
.md-typeset h5 {
color: #e9ebfc;
}

Expand Down Expand Up @@ -690,3 +690,8 @@ li.md-nav__item.md-nav__item--active:not(.md-nav__item--nested) {
.fq-docs-property-block table td:nth-child(3) {
width: 50%;
}

/* Section header scroll offset overrides */
.md-typeset h1:target, .md-typeset h2:target, .md-typeset h3:target {
--md-scroll-offset: -1rem;
}

0 comments on commit 73bef5f

Please sign in to comment.