mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
fixing inspector button.
This commit is contained in:
@@ -582,9 +582,9 @@ a.selected:hover .toggle.icon { background-position: -40px -180px;}
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.inspector-buttons .button-wrap {
|
||||
width: 40%;
|
||||
padding-right: 0;
|
||||
.inspector-buttons button {
|
||||
width: 20%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.inspector-buttons .minor-buttons {
|
||||
|
||||
@@ -59,15 +59,12 @@ iD.ui.inspector = function() {
|
||||
function drawButtons(selection) {
|
||||
var entity = selection.datum();
|
||||
|
||||
var inspectorButtonWrap = selection.append('div')
|
||||
.attr('class','button-wrap joined fl');
|
||||
|
||||
var inspectorButton1 = inspectorButtonWrap.append('button')
|
||||
.attr('class', 'apply col6 action')
|
||||
var inspectorButton = selection.append('button')
|
||||
.attr('class', 'apply action')
|
||||
.on('click', apply);
|
||||
|
||||
inspectorButton1.append('span').attr('class','icon icon-pre-text apply');
|
||||
inspectorButton1.append('span').attr('class','label').text('Okay');
|
||||
inspectorButton.append('span').attr('class','icon icon-pre-text apply');
|
||||
inspectorButton.append('span').attr('class','label').text('Okay');
|
||||
|
||||
var minorButtons = selection.append('div').attr('class','minor-buttons fl');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user