Skip to content
New issue

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

Froala admin CSS breaks Django Admin Select Fields #73

Open
SteveChurch opened this issue Aug 22, 2019 · 2 comments
Open

Froala admin CSS breaks Django Admin Select Fields #73

SteveChurch opened this issue Aug 22, 2019 · 2 comments

Comments

@SteveChurch
Copy link

    overflow: visible;
}

This breaks the UI when you have drop downs in the django admin.

@ron8mcr
Copy link

ron8mcr commented Jul 28, 2020

Just a reminder, there are related issues/PRs:
#70
#75

@evangeloskp
Copy link

Override your model's css with this code in admin.py:
class Media: css = { 'all': ('path_to_your_custom_css/custom.css') }

Track each and every foreign key field class and add this css rule:
.field-1, .field-2, .field-3 { overflow: hidden !important; }

I also noticed an additional bug concerning the unordered lists. The chosen symbol does not appear. Also solved with this code:
.fr-view ul li { list-style-type:unset !important; }

Finally the labels above each froala editor seem to have some problems...
label{ margin-bottom: 15px; white-space: nowrap; }

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

No branches or pull requests

3 participants