Scroll overflowing tags. Fixes #116

This commit is contained in:
Tom MacWright
2012-11-27 17:56:48 -05:00
parent 936cefb4ef
commit 22fd80be05
2 changed files with 6 additions and 0 deletions

View File

@@ -220,6 +220,11 @@ button small {
width:350px;
border-spacing:0;
}
.inspector-wrap .tag-table-wrap {
max-height:350px;
overflow-y:scroll;
overflow-x:hidden;
}
.inspector-wrap table th {
text-align:left;
}

View File

@@ -50,6 +50,7 @@ iD.Inspector = function() {
.attr('class', 'head').call(drawhead);
var table = selection
.append('div').attr('class', 'tag-table-wrap')
.append('table').attr('class', 'inspector');
table.append('thead').append('tr').selectAll('th')