diff --git a/css/app.css b/css/app.css index 2ecf010f9..7f210c175 100644 --- a/css/app.css +++ b/css/app.css @@ -147,6 +147,8 @@ polyline { width:300px; background:#fff; box-shadow:1px 1px 3px #111; + max-height:300px; + overflow:auto; } .edit-pane h2 { @@ -191,3 +193,24 @@ polyline { .edit-pane table td input { width:140px; } + +.presets h3 { + padding: 5px; + font: normal 13px/15px Helvetica, Arial, sans-serif; + text-align:center; + margin: 0; +} + +.presets a.preset-option { + text-decoration:none; + display:block; + background:#eee; + padding:5px; + border-top:1px solid #ccc; +} + +.presets a.preset-option span { + display:block; + color: #888; + font: normal 11px/15px Helvetica, Arial, sans-serif; +} diff --git a/index.html b/index.html index 23ac6da76..71eca28b3 100755 --- a/index.html +++ b/index.html @@ -71,10 +71,6 @@ require(["dojo/dom-geometry","dojo/dom-class","dojo/on","dojo/dom","dojo/Evented // Set initial controllerState controller.setState(new iD.controller.edit.NoSelection()); - // Load presets - controller.setTagPresets('way', 'presets/ways.json'); - controller.setTagPresets('node', 'presets/nodes.json'); - // Load data map.download(); } @@ -155,14 +151,7 @@ require(["dojo/dom-geometry","dojo/dom-class","dojo/on","dojo/dom","dojo/Evented Presets Tags -