diff --git a/css/app.css b/css/app.css index e0697fab3..8861c0997 100644 --- a/css/app.css +++ b/css/app.css @@ -806,12 +806,15 @@ a.selected:hover .toggle.icon { background-position: -40px -180px;} } .subgrid { + width: -webkit-calc(100% - 10px); + width: calc(100% - 10px); overflow: hidden; } .subgrid .preset-grid { background: #eee; margin-top: 0px; + border: 0; border-radius: 4px; } diff --git a/js/id/ui/preset_grid.js b/js/id/ui/preset_grid.js index a1ca6207b..ff4bb4494 100644 --- a/js/id/ui/preset_grid.js +++ b/js/id/ui/preset_grid.js @@ -120,11 +120,9 @@ iD.ui.PresetGrid = function(context, entity) { .call(drawGrid, 1000); subgrid.style('max-height', '0px') - .style('padding-top', '0px') .style('padding-bottom', '0px') .transition() .duration(300) - .style('padding-top', '10px') .style('padding-bottom', '20px') .style('max-height', (d.members.collection.length / 3 * 150) + 200 + 'px'); }