From fe296c2d5a132d724413064caab9acaba79a0a3d Mon Sep 17 00:00:00 2001 From: itsmartashub <44645238+itsmartashub@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:13:45 +0200 Subject: [PATCH] fix(GPTs/dialog): Address dialog top and bottom bg shades color issue in OLED - Fix the background shadow in the GPT Store product dialog on the GPTs Store Page when clicked on any product for OLED themes Changes summary: - Addressed a visual issue: - Ensured the background shadow is properly displayed in the GPT Store product dialog for OLED themes, maintaining a consistent and visually appealing user experience. --- src/sass/elements/_dialogs.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/sass/elements/_dialogs.scss b/src/sass/elements/_dialogs.scss index ae39311a..01f11352 100644 --- a/src/sass/elements/_dialogs.scss +++ b/src/sass/elements/_dialogs.scss @@ -508,6 +508,15 @@ } +html.dark[data-gptheme='oled'] [role='dialog'] { + &:not(&:has([href^='https://help.openai.com/en/articles/7925741-chatgpt-shared-links-faq'])) { + .from-token-main-surface-primary { + --main-surface-primary: var(--c-surface-1) !important; + } + + } +} + /* ! NOT WORKING - CANNOT OVERWRITE THIS WTF */ /* .dark .popover, .light .popover,