Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

bug 951180: Position labels after checkboxes#4682

Merged
jwhitlock merged 1 commit intomdn:masterfrom
donovanglover:label-after-checkbox-951180
Feb 26, 2018
Merged

bug 951180: Position labels after checkboxes#4682
jwhitlock merged 1 commit intomdn:masterfrom
donovanglover:label-after-checkbox-951180

Conversation

@donovanglover
Copy link
Contributor

This pull request fixes 951180.

Feel free to tell me if I missed anything. I could only find two checkboxes on the edit page.

No styling changes should be needed. I tested my changes with Developer Tools and both versions behaved the same.

Copy link
Contributor

@jwhitlock jwhitlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran this locally, and the layout is visually the same before and after this change:

pr 4682 before

pr 4682 after

I'd like to have the checkbox label a few pixels higher, but that issue was there before this change, so that's a new PR.

Thanks, @gloverdonovan!

<ul>
<li id="field-beta" class="field">
<label for="{{ user_form.beta.id_for_label }}">{{ user_form.beta.label }}</label> {{ user_form.beta }}
{{ user_form.beta }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is cleaner on its own line - good change!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad I could help!

@jwhitlock jwhitlock merged commit 6d6c074 into mdn:master Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants