File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -70,19 +70,14 @@ 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
- ${ ! await chatbar . is . dark ( ) ? '' // color 'Attach File' white
74
- : `svg:has(path[d^="M9 7C9 4.238"]) + span { color: white }` } `}
75
-
76
- /* Keep Projects landing list scrollable (fix #192) */
77
- ${ site == 'chatgpt' ? `
78
73
div[role="presentation"] > header#page-header + div.flex.basis-auto.flex-col.grow {
74
+ /* keep Projects landing list scrollable */
79
75
overflow-y: auto !important;
80
76
max-height: 100vh; /* safety cap */
81
77
overscroll-behavior: contain; /* smoother wheel/touch behaviour */
82
- }`
83
- : ''
84
- }
85
-
78
+ }
79
+ ${ ! await chatbar . is . dark ( ) ? '' // color 'Attach File' white
80
+ : `svg:has(path[d^="M9 7C9 4.238"]) + span { color: white }` } `}
86
81
${ config . tcbDisabled ? '' // heighten chatbox
87
82
: `${ site == 'chatgpt' ? `div[class*=prose]:has(${ selectors . input } )` : selectors . input }
88
83
{ max-height: ${ tcbHeight } vh }
Original file line number Diff line number Diff line change @@ -70,19 +70,14 @@ 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
- ${ ! await chatbar . is . dark ( ) ? '' // color 'Attach File' white
74
- : `svg:has(path[d^="M9 7C9 4.238"]) + span { color: white }` } `}
75
-
76
- /* Keep Projects landing list scrollable (fix #192) */
77
- ${ site == 'chatgpt' ? `
78
73
div[role="presentation"] > header#page-header + div.flex.basis-auto.flex-col.grow {
74
+ /* keep Projects landing list scrollable */
79
75
overflow-y: auto !important;
80
76
max-height: 100vh; /* safety cap */
81
77
overscroll-behavior: contain; /* smoother wheel/touch behaviour */
82
- }`
83
- : ''
84
- }
85
-
78
+ }
79
+ ${ ! await chatbar . is . dark ( ) ? '' // color 'Attach File' white
80
+ : `svg:has(path[d^="M9 7C9 4.238"]) + span { color: white }` } `}
86
81
${ config . tcbDisabled ? '' // heighten chatbox
87
82
: `${ site == 'chatgpt' ? `div[class*=prose]:has(${ selectors . input } )` : selectors . input }
88
83
{ max-height: ${ tcbHeight } vh }
You can’t perform that action at this time.
0 commit comments