From a77362c7b8b2c74b097afc1aa58f7a144ead894c Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 22 May 2013 11:20:32 -0700 Subject: [PATCH] Remove extra wrapper --- css/app.css | 9 +++++---- js/id/ui/preset_list.js | 6 +----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/css/app.css b/css/app.css index 9a59bba16..cafb7fe99 100644 --- a/css/app.css +++ b/css/app.css @@ -1441,10 +1441,6 @@ div.combobox { /* Tag reference */ -.preset-inspect { - position: relative; -} - .tag-reference-loading .icon { background-image: url(img/mini-loader.gif); background-position: 0 0; @@ -1465,6 +1461,11 @@ div.combobox { display: block; } +.preset-list .tag-reference-body { + position: relative; + width: 100%; +} + .additional-tags .tag-reference-body { border-bottom: 1px solid #ccc; float: left; diff --git a/js/id/ui/preset_list.js b/js/id/ui/preset_list.js index fa587eee7..f67d8e356 100644 --- a/js/id/ui/preset_list.js +++ b/js/id/ui/preset_list.js @@ -184,11 +184,7 @@ iD.ui.PresetList = function(context, entity) { .text(preset.name()); wrap.call(item.reference.button); - - selection.append('div') - .attr('class', 'preset-inspect col12') - .style('max-height', '200px') - .call(item.reference.body); + selection.call(item.reference.body); } item.choose = function() {