We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview mode is broken on both bootstrap/semantic when system is using dark mode.
The text was updated successfully, but these errors were encountered:
In martor/css/martor-admin.css, because of the prefers-colour-scheme: dark option This is being affected by the operating system's settings.
martor/css/martor-admin.css
prefers-colour-scheme: dark
To fix it, you can add MARTOR_ENABLE_ADMIN_CSS = False to settings.py to make the CSS slightly broken.
MARTOR_ENABLE_ADMIN_CSS = False
But fundamentally, it needs to be improved to match Django's code.
Sorry, something went wrong.
Better temp fix:
create /static/admin/custom.css and put .main-martor { color: #000 !important; }
/static/admin/custom.css
.main-martor { color: #000 !important; }
add to admin class:
class Media: css = {'all': ('admin/custom.css',),} ```
No branches or pull requests
Preview mode is broken on both bootstrap/semantic when system is using dark mode.
Details
Steps to reproduce
The text was updated successfully, but these errors were encountered: