Skip to content

Commit

Permalink
fix(GPTs/dialog): Address dialog top and bottom bg shades color issue…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
itsmartashub committed Sep 16, 2024
1 parent e188ce3 commit fe296c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sass/elements/_dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fe296c2

Please sign in to comment.