mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Fixes label button wrap on right-to-left layouts
This commit is contained in:
+2
-2
@@ -1254,10 +1254,10 @@ a.hide-toggle {
|
||||
right: 0;
|
||||
height: 100%;
|
||||
background: transparent;
|
||||
text-align: right;
|
||||
}
|
||||
[dir='rtl'] .form-label-button-wrap {
|
||||
text-align: left;
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.form-label-button-wrap .tag-reference-button {
|
||||
|
||||
@@ -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