File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ textarea:focus,
4848}
4949
5050.title {
51- position : sticky;
51+ /* position: sticky; */
5252 top : 0 ;
5353 z-index : 100 ;
5454 display : flex;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export const Overview = (pr: PullRequest) => {
5252 }
5353
5454 const unstuckHeight = title . getBoundingClientRect ( ) . height ;
55- title . classList . add ( 'stuck' ) ;
55+ // title.classList.add('stuck');
5656 const stuckHeight = title . getBoundingClientRect ( ) . height ;
5757 stickyHeightRef . current = stuckHeight ;
5858 collapseDeltaRef . current = Math . max ( 0 , unstuckHeight - stuckHeight ) ;
@@ -90,7 +90,7 @@ export const Overview = (pr: PullRequest) => {
9090 const rect = title . getBoundingClientRect ( ) ;
9191 // Title is stuck when its top is at position 0 (sticky top: 0)
9292 if ( rect . top <= STICKY_THRESHOLD ) {
93- title . classList . add ( 'stuck' ) ;
93+ // title.classList.add('stuck');
9494 } else {
9595 title . classList . remove ( 'stuck' ) ;
9696 }
You can’t perform that action at this time.
0 commit comments