Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fixing sticky tabs overlapping title on longer titles (#1320)
Robbie Davis791e85259624
diff --git a/UI/Web/src/app/series-detail/series-detail.component.scss b/UI/Web/src/app/series-detail/series-detail.component.scssindex 93eccb417..ec835f582 100644--- a/UI/Web/src/app/series-detail/series-detail.component.scss+++ b/UI/Web/src/app/series-detail/series-detail.component.scss@@ -29,7 +29,6 @@.nav-tabs.fixed {position: fixed;- top: 114px;z-index: 100;background-color: var(--bs-body-bg);width: 100%;diff --git a/UI/Web/src/app/series-detail/series-detail.component.ts b/UI/Web/src/app/series-detail/series-detail.component.tsindex 462e2829f..56b07654d 100644--- a/UI/Web/src/app/series-detail/series-detail.component.ts+++ b/UI/Web/src/app/series-detail/series-detail.component.ts@@ -255,6 +255,7 @@ export class SeriesDetailComponent implements OnInit, OnDestroy {if (!document.querySelector('.nav-tabs.fixed') && (tabOffset - mainOffset) <= mainScrollPos) {tabs!.classList.add("fixed");+ tabs!.style.top = mainOffset+'px';} else if (document.querySelector('.nav-tabs.fixed') && mainScrollPos <= (contentOffset - mainOffset)) {tabs!.classList.remove("fixed");}