Commit 83c318e66c66d82671cccaf3acc7f29c2bacf8d2
1 parent
6b803d70
Exists in
master
and in
29 other branches
Fix placement of "Remove image" checkbox label
Showing
2 changed files
with
3 additions
and
4 deletions
Show diff stats
app/views/shared/_show_thumbnail.html.erb
... | ... | @@ -20,6 +20,6 @@ |
20 | 20 | |
21 | 21 | <% if image.present? && removable %> |
22 | 22 | <div id='image-builder-remove-checkbox'> |
23 | - <%= labelled_form_field(_('Remove image'), i.check_box(:remove_image, {}, true, false))%> | |
23 | + <%= labelled_check_box(_('Remove image'), :remove_image, true, false) %> | |
24 | 24 | </div> |
25 | 25 | <% end %> | ... | ... |
public/stylesheets/application.scss
... | ... | @@ -2747,12 +2747,11 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
2747 | 2747 | #blog-image-builder > .formfieldline > .formfield > .formfieldline > .formfield > .formfieldline > label, |
2748 | 2748 | #blog-image-builder > .formfieldline > label, |
2749 | 2749 | #blog-image-builder #change-image > .formfieldline > label, |
2750 | -#blog-image-builder #image-builder-remove-checkbox > .formfieldline > label, | |
2751 | 2750 | #profile_change_picture label { |
2752 | 2751 | display: none; |
2753 | 2752 | } |
2754 | -#profile_change_picture #image-builder-remove-checkbox > .formfieldline > label { | |
2755 | - display: block; | |
2753 | +#profile_change_picture #image-builder-remove-checkbox > label { | |
2754 | + display: inline-block; | |
2756 | 2755 | } |
2757 | 2756 | #profile_change_picture img { |
2758 | 2757 | margin-left: 10px; | ... | ... |
-
mentioned in commit 7eabb5ed947e86aa23755a346b53d8a2ce4284f0