mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 22:48:10 +02:00
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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user