File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 107107 dynamicDiv = document . getElementById ( 'masthead' ) ;
108108 splashBanner = document . getElementsByClassName ( 'splash-banner' ) [ 0 ] ;
109109 splashLogoTxt = document . getElementsByClassName ( 'splash-banner-logotext' ) [ 0 ] ;
110- maxHeight = dynamicDiv . offsetHeight ;
111- curHeight = parseFloat ( dynamicDiv . style . height ) || dynamicDiv . offsetHeight ; //maxHeight;
110+ maxHeight = window . innerHeight + 120 ;
111+ dynamicDiv . style . height = maxHeight + 'px' ;
112+ curHeight = maxHeight ;
112113 vanishHeight = minHeight + ( maxHeight - minHeight ) * 0.4 ;
113114 splashTxt = document . querySelectorAll ( '.splash-text' ) ;
114115 window . addEventListener ( 'scroll' , scrollFn ) ;
Original file line number Diff line number Diff line change @@ -214,14 +214,13 @@ img {
214214 */
215215
216216.splash-masthead {
217- height : calc (100 dvh + var (--masthead-height ));
217+ // height: calc(100dvh + var(--masthead-height));
218218 width : 100% ;
219219 background-color : var (--cap-bg-color );
220220 color : var (--cap-fg-color );
221- display : flex ;
222- justify-content : flex-start ;
223- // justify-content: space-between;
224221 align-items : center ;
222+ display : flex ;
223+ justify-content : space-between ;
225224 flex-direction : column ;
226225
227226 /* sticky header */
You can’t perform that action at this time.
0 commit comments