File tree Expand file tree Collapse file tree 4 files changed +0
-42
lines changed Expand file tree Collapse file tree 4 files changed +0
-42
lines changed Original file line number Diff line number Diff line change 284
284
notify ( browserAPI . getMsg ( 'notif_chatStopped' ) , 'bottom-right' ) ) } catch ( err ) { }
285
285
} )
286
286
287
- // Ensure CHATGPT PROJECTS scroll
288
- if ( env . site == 'chatgpt' ) {
289
- ensureProjectsScroll ( )
290
- new MutationObserver ( ensureProjectsScroll ) . observe ( document . body , { childList : true , subtree : true } )
291
- function ensureProjectsScroll ( ) {
292
- const projectElem = document . querySelector (
293
- 'div[role="presentation"] > header#page-header + div.flex.basis-auto.flex-col.grow' )
294
- if ( projectElem ) {
295
- projectElem . style . overflowY = 'auto'
296
- projectElem . style . maxHeight = '100vh' // safety cap
297
- projectElem . style . overscrollBehavior = 'contain' // smoother wheel/touch behaviour
298
- }
299
- }
300
- }
301
-
302
287
} ) ( )
Original file line number Diff line number Diff line change @@ -70,12 +70,6 @@ window.styles = {
70
70
${ site != 'chatgpt' ? ''
71
71
: `main { /* prevent h-scrollbar on sync.mode('fullWindow) => delayed chatbar.tweak() */
72
72
overflow: clip !important }
73
- div[role="presentation"] > header#page-header + div.flex.basis-auto.flex-col.grow {
74
- /* keep Projects landing list scrollable */
75
- overflow-y: auto !important;
76
- max-height: 100vh; /* safety cap */
77
- overscroll-behavior: contain; /* smoother wheel/touch behaviour */
78
- }
79
73
${ ! await chatbar . is . dark ( ) ? '' // color 'Attach File' white
80
74
: `svg:has(path[d^="M9 7C9 4.238"]) + span { color: white }` } `}
81
75
${ config . tcbDisabled ? '' // heighten chatbox
Original file line number Diff line number Diff line change 284
284
notify ( browserAPI . getMsg ( 'notif_chatStopped' ) , 'bottom-right' ) ) } catch ( err ) { }
285
285
} )
286
286
287
- // Ensure CHATGPT PROJECTS scroll
288
- if ( env . site == 'chatgpt' ) {
289
- ensureProjectsScroll ( )
290
- new MutationObserver ( ensureProjectsScroll ) . observe ( document . body , { childList : true , subtree : true } )
291
- function ensureProjectsScroll ( ) {
292
- const projectElem = document . querySelector (
293
- 'div[role="presentation"] > header#page-header + div.flex.basis-auto.flex-col.grow' )
294
- if ( projectElem ) {
295
- projectElem . style . overflowY = 'auto'
296
- projectElem . style . maxHeight = '100vh' // safety cap
297
- projectElem . style . overscrollBehavior = 'contain' // smoother wheel/touch behaviour
298
- }
299
- }
300
- }
301
-
302
287
} ) ( )
Original file line number Diff line number Diff line change @@ -70,12 +70,6 @@ window.styles = {
70
70
${ site != 'chatgpt' ? ''
71
71
: `main { /* prevent h-scrollbar on sync.mode('fullWindow) => delayed chatbar.tweak() */
72
72
overflow: clip !important }
73
- div[role="presentation"] > header#page-header + div.flex.basis-auto.flex-col.grow {
74
- /* keep Projects landing list scrollable */
75
- overflow-y: auto !important;
76
- max-height: 100vh; /* safety cap */
77
- overscroll-behavior: contain; /* smoother wheel/touch behaviour */
78
- }
79
73
${ ! await chatbar . is . dark ( ) ? '' // color 'Attach File' white
80
74
: `svg:has(path[d^="M9 7C9 4.238"]) + span { color: white }` } `}
81
75
${ config . tcbDisabled ? '' // heighten chatbox
You can’t perform that action at this time.
0 commit comments