mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Don't reuse bare geometry classes
Fixes a problem where inspector background had odd cursors.
This commit is contained in:
14
css/app.css
14
css/app.css
@@ -569,14 +569,14 @@ a.selected:hover .toggle.icon { background-position: -40px -180px;}
|
||||
right: -10px;
|
||||
}
|
||||
|
||||
.inspector-body.line .type button {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.inspector-body .type button {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.inspector-body-line .type button {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.inspector-body .head .name {
|
||||
padding-left: 10px;
|
||||
}
|
||||
@@ -819,7 +819,7 @@ div.combobox {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.line .grid-entry {
|
||||
.inspector-body-line .grid-entry {
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
@@ -866,7 +866,7 @@ div.combobox {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.line .grid-entry .icon {
|
||||
.inspector-body-line .grid-entry .icon {
|
||||
top: 10%;
|
||||
}
|
||||
|
||||
@@ -883,7 +883,7 @@ div.combobox {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.line .grid-entry .label {
|
||||
.inspector-body-line .grid-entry .label {
|
||||
top: 80%;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ iD.ui.PresetGrid = function(context) {
|
||||
.attr('class', 'preset-grid-search-wrap inspector-inner');
|
||||
|
||||
var grid = selection.append('div')
|
||||
.attr('class', 'preset-grid fillD inspector-body ' + entity.geometry(context.graph()))
|
||||
.attr('class', 'preset-grid fillD inspector-body inspector-body-' + entity.geometry(context.graph()))
|
||||
.call(drawGrid, context.presets().defaults(entity, 12));
|
||||
|
||||
var search = searchwrap.append('input')
|
||||
|
||||
@@ -38,7 +38,7 @@ iD.ui.TagEditor = function(context) {
|
||||
.text(t('inspector.choose'));
|
||||
|
||||
var editorwrap = selection.append('div')
|
||||
.attr('class', 'tag-wrap inspector-body ' + entity.geometry(context.graph()));
|
||||
.attr('class', 'tag-wrap inspector-body inspector-body-' + entity.geometry(context.graph()));
|
||||
|
||||
var headerwrap = editorwrap.append('div').attr('class','col12 inspector-inner head');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user