diff options
| author | bh <qn+git@excalibur.computer> | 2026-01-15 17:50:43 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2026-01-15 17:50:43 +0800 |
| commit | 613f803bfc9a549bb485babba5bc1234bd5bd3db (patch) | |
| tree | 317b608cfd9ed282cb3c9837ceca4e865d2a543f /CSS | |
| parent | 1e3d71b45809efe11905e91817de0950d685df42 (diff) | |
Fixed chatgpt header
Diffstat (limited to 'CSS')
| -rw-r--r-- | CSS/chatgpt.com.css | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/CSS/chatgpt.com.css b/CSS/chatgpt.com.css index ab036ad..7357676 100644 --- a/CSS/chatgpt.com.css +++ b/CSS/chatgpt.com.css @@ -15,7 +15,8 @@ background-position: center center !important; background-repeat: no-repeat !important; background-attachment: fixed !important; - overflow: hidden !important; + overflow-x: hidden !important; + overflow-y: auto !important; } /* React root */ @@ -25,10 +26,11 @@ } /* Main scrolling container */ - main { - background: transparent !important; - overflow-y: auto !important; - } +main { + background: transparent !important; + overflow-y: auto !important; + min-height: 100vh !important; +} } @-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") { @@ -152,3 +154,20 @@ } + +/* Mobile / responsive header */ +header, +[data-testid="conversation-header"] { + background-color: #003636 !important; + background-image: none !important; + backdrop-filter: none !important; +} + +/* Desktop: transparent, keep sticky */ +@media (min-width: 1024px) { + header, + [data-testid="conversation-header"] { + background-color: transparent !important; + backdrop-filter: none !important; + } +} |