Skip to content

Make the PG problem editor resize grips properly color scheme responsive. (hotfix of #3170) - #3171

Merged
somiaj merged 1 commit into
openwebwork:mainfrom
drgrice1:bugfix/pgedit-resizer-dark-mode-hotfix
Aug 27, 2026
Merged

Make the PG problem editor resize grips properly color scheme responsive. (hotfix of #3170)#3171
somiaj merged 1 commit into
openwebwork:mainfrom
drgrice1:bugfix/pgedit-resizer-dark-mode-hotfix

Conversation

@drgrice1

Copy link
Copy Markdown
Member

The css should not be using the @media (prefers-color-scheme: dark) selector. That will always honor the browser setting, and will not honor what the UI selector is set for. Instead it should use the `[data-bs-theme='dark']" selector which will honor both.

…ive.

The css should not be using the `@media (prefers-color-scheme: dark)`
selector.  That will always honor the browser setting, and will not
honor what the UI selector is set for.  Instead it should use the
`[data-bs-theme='dark']" selector which will honor both.
@somiaj
somiaj merged commit ddc922f into openwebwork:main Aug 27, 2026
2 checks passed
@drgrice1
drgrice1 deleted the bugfix/pgedit-resizer-dark-mode-hotfix branch August 27, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants