fix overflow in commit dialog.

This commit is contained in:
Saman Bemel-Benrud
2013-01-30 11:27:03 -05:00
parent 17007b0661
commit ec4f4266ad
2 changed files with 2 additions and 10 deletions

View File

@@ -948,11 +948,11 @@ div.typeahead a:first-child {
border:1px solid #ccc;
background:#fff;
max-height: 160px;
overflow: visible;
}
.commit-modal .warning-section .changeset-list {
margin-right: 20px;
overflow-x: visible;
}
.commit-section.modal-section {
@@ -961,15 +961,6 @@ div.typeahead a:first-child {
.commit-section.modal-section:last-child { padding-bottom: 20px;}
.commit-modal .changeset-list li {
position: relative;
}
.commit-modal .changeset-list li button {
position: absolute;
right: -30px;
}
.modal-section {
padding: 20px;
}

View File

@@ -86,6 +86,7 @@ iD.ui.commit = function(map) {
.on('click.cancel', function() {
event.cancel();
});
cancelbutton.append('span').attr('class','icon close icon-pre-text');
cancelbutton.append('span').attr('class','label').text('Cancel');
var warnings = body.selectAll('div.warning-section')