From 13def0619dc3117c142594fa889109736b013675 Mon Sep 17 00:00:00 2001 From: bh Date: Thu, 15 Jan 2026 17:59:45 +0800 Subject: Fixed even more header problems --- CSS/chatgpt.com.css | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'CSS/chatgpt.com.css') diff --git a/CSS/chatgpt.com.css b/CSS/chatgpt.com.css index 7357676..ac401c2 100644 --- a/CSS/chatgpt.com.css +++ b/CSS/chatgpt.com.css @@ -15,8 +15,9 @@ background-position: center center !important; background-repeat: no-repeat !important; background-attachment: fixed !important; - overflow-x: hidden !important; - overflow-y: auto !important; + + overflow-x: hidden !important; + overflow-y: auto !important; } /* React root */ @@ -28,9 +29,11 @@ /* Main scrolling container */ main { background: transparent !important; - overflow-y: auto !important; + overflow: visible !important; min-height: 100vh !important; } + + } @-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") { @@ -171,3 +174,18 @@ header, backdrop-filter: none !important; } } + +@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") { + + /* Offset chat content so it doesn't go under the sticky header */ + main { + padding-top: 56px !important; /* desktop header height */ + } + + /* Mobile / responsive header is taller */ + @media (max-width: 1023px) { + main { + padding-top: 64px !important; + } + } +} -- cgit v1.2.3