File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080 if ( curHeight > minHeight ) {
8181 const h = Math . max ( minHeight , curHeight - currentScrollY ) ;
8282 dynamicDiv . style . height = h + 'px' ;
83- dynamicDiv . getBoundingClientRect ( ) ;
8483 curHeight = h ;
8584 window . scrollTo ( currentScrollX , 0 ) ;
86- // Force recompute of height:
8785 const opac = ( h - vanishHeight ) / ( maxHeight - vanishHeight ) ;
8886 splashTxt . forEach ( ( el ) => {
8987 if ( h <= vanishHeight ) {
Original file line number Diff line number Diff line change 5252 color : var (--fg-color );
5353 font-weight : 250 ;
5454 text-align : justify ;
55+ -webkit-overflow-scrolling : touch ;
5556}
5657body b , body strong {
5758 color : var (--fg-color );
@@ -223,6 +224,10 @@ img {
223224 justify-content : space-between ;
224225 flex-direction : column ;
225226
227+ -webkit-transform : translateZ (0 );
228+ transform : translateZ (0 );
229+ will-change : height ;
230+
226231 /* sticky header */
227232 /*
228233 position: sticky;
@@ -234,6 +239,8 @@ img {
234239 width : 940px ;
235240 max-width : 100% ;
236241 height : 100 dvh;
242+ -webkit-transform : translateZ (0 );
243+ transform : translateZ (0 );
237244}
238245.splash-banner-logotext {
239246 color : var (--cap-fg-color );
You can’t perform that action at this time.
0 commit comments