bootstrap
bootstrap copied to clipboard
Disable color-scheme on iframe
When an iframe has transparency, having a dark color-scheme value causes it to render with a white background. This causes text to be invisible if the iframe is respecting dark mode and adapting to it.
One very easy to check example is disqus.
Description
Motivation & Context
Type of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Refactoring (non-breaking change)
- [ ] Breaking change (fix or feature that would change existing functionality)
Checklist
- [x] I have read the contributing guidelines
- [x] My code follows the code style of the project (using
npm run lint) - [ ] My change introduces changes to the documentation
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] All new and existing tests passed
Live previews
Related issues
Have a demo?