File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
scaladoc/resources/dotty_res Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -514,3 +514,13 @@ members.forEach((member) => {
514
514
member . style . scrollMarginTop = `${ navbarHeight + filtersHeight } px` ;
515
515
} ) ;
516
516
} ) ;
517
+
518
+ members . forEach ( ( member ) => {
519
+ window . addEventListener ( "DOMContentLoaded" , ( ) => {
520
+ const navbarHeight = document . querySelector ( "#header" ) . clientHeight ;
521
+ const filtersHeight = document . querySelector (
522
+ ".documentableFilter" ,
523
+ ) . clientHeight ;
524
+ member . style . scrollMarginTop = `${ navbarHeight + filtersHeight } px` ;
525
+ } ) ;
526
+ } ) ;
Original file line number Diff line number Diff line change 10
10
}
11
11
12
12
# scaladoc-searchbar {
13
- z-index : 5 ;
13
+ z-index : 104 ;
14
14
width : calc (125 * var (--base-spacing ));
15
15
position : relative;
16
16
top : calc (3 * var (--base-spacing ));
You can’t perform that action at this time.
0 commit comments