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

Fix django admin site form related field style #75

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix django admin site form related field style #75

wants to merge 3 commits into from

Conversation

Chaoyingz
Copy link

@Chaoyingz Chaoyingz commented Sep 19, 2019

Related to reported issue #70, this CSS fixes the django admin site form related and text field style.

Before the fix:
befor

After the fix:
after

fix django admin site form related and text field style problem
@zachtaylor21
Copy link

I like what you've done here. I do think it would look more uniform if the froala editor was left aligned with the other input elements. Does anyone else have thoughts on this?

@ericel
Copy link

ericel commented Jan 31, 2020

This issue still do exists. I just installed the latest version and here is what I am getting on screen size > 1156:
Screen Shot 2020-01-31 at 10 56 35 PM

@StevenMapes
Copy link

Any chance of this getting merged in as it's a really annoying issue without it. If anyones come across this still unfixed in the future the quickest patch you can make is to overload the admin/base_site.html template and add this to apply the fixes across your project

{% extends "admin/base_site.html" %}
{% block extrahead %}
    <style>
        form .fr-element p {
            clear: both;
            z-index: 1;
            padding-top: 10px;
            display: inline-block;
        }

        .related-widget-wrapper {
            float: unset;
            display: inline-block;
        }
    </style>
{% endblock %}

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.

4 participants