Get rid of extra form-label-button-wrap div

Buttons can now be directly appended to the form-field-label flex container
This commit is contained in:
Bryan Housel
2018-11-27 09:14:11 -05:00
parent d2687d9068
commit 986b663c9e
5 changed files with 42 additions and 59 deletions
+1 -3
View File
@@ -335,7 +335,7 @@ export function uiFieldLocalized(field, context) {
var label = wrap
.append('label')
.attr('class', 'form-label');
.attr('class', 'form-field-label');
label
.append('span')
@@ -343,8 +343,6 @@ export function uiFieldLocalized(field, context) {
.text(t('translate.localized_translation_label'));
label
.append('div')
.attr('class', 'form-label-button-wrap')
.append('button')
.attr('class', 'minor remove-icon-multilingual')
.on('click', function(d){