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

Update default.css #7643

Merged
merged 1 commit into from Mar 9, 2021
Merged

Update default.css #7643

merged 1 commit into from Mar 9, 2021

Conversation

Otoru
Copy link
Contributor

@Otoru Otoru commented Nov 19, 2020

Description

When I apply a theme to the bootstrap used in the project, boolean inputs are out of line with the rest of the form. With this small payment, this no longer occurs.

When I apply a theme to the bootstrap used in the project, boolean inputs are out of line with the rest of the form. With this small payment, this no longer occurs.
@tomchristie
Copy link
Member

Generally I'd prefer before and after screenshots with something like this, but heck, it's a minor one so sure.
Thanks.

@tomchristie tomchristie merged commit 4e0d6c4 into encode:master Mar 9, 2021
stefanacin pushed a commit to stefanacin/django-rest-framework that referenced this pull request Mar 22, 2021
When I apply a theme to the bootstrap used in the project, boolean inputs are out of line with the rest of the form. With this small payment, this no longer occurs.
@s4ke
Copy link

s4ke commented Sep 24, 2021

This breaks rendering in Firefox:

grafik

It should be:

grafik

This is probably because the css rule is more specific and it overrides the bootstrap theme:

grafik

We are overriding this back to the original default.css in our project because it seems like anyone who wants different rendering for checkboxes should not break default rendering like this.

@s4ke
Copy link

s4ke commented Sep 24, 2021

@tomchristie or do you have a better solution here?

sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
When I apply a theme to the bootstrap used in the project, boolean inputs are out of line with the rest of the form. With this small payment, this no longer occurs.
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.

None yet

3 participants