mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
Fixes label button wrap on right-to-left layouts
This commit is contained in:
@@ -146,10 +146,6 @@ export function uiRawMemberEditor(context) {
|
||||
var label = d3_select(this).append('label')
|
||||
.attr('class', 'form-label');
|
||||
|
||||
// add the button wrap beneath the label text
|
||||
var buttonWrap = label.append('div')
|
||||
.attr('class', 'form-label-button-wrap');
|
||||
|
||||
var labelLink = label.append('a')
|
||||
.attr('href', '#')
|
||||
.on('click', selectMember);
|
||||
@@ -165,6 +161,9 @@ export function uiRawMemberEditor(context) {
|
||||
.attr('class', 'member-entity-name')
|
||||
.text(function(d) { return utilDisplayName(d.member); });
|
||||
|
||||
var buttonWrap = label.append('div')
|
||||
.attr('class', 'form-label-button-wrap');
|
||||
|
||||
buttonWrap.append('button')
|
||||
.attr('class', 'download-icon')
|
||||
.attr('title', t('icons.zoom_to'))
|
||||
|
||||
Reference in New Issue
Block a user