mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
style "(empty)" option differently to distinguish from regular tag values
This commit is contained in:
@@ -2406,6 +2406,11 @@ div.combobox {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.combobox .combobox-option.virtual-option {
|
||||
font-style: italic;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.form-field-input-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -416,6 +416,9 @@ export function uiSectionRawTagEditor(id, context) {
|
||||
return {
|
||||
value: ' ',
|
||||
title: t('inspector.empty'),
|
||||
display: selection => selection.text('')
|
||||
.classed('virtual-option', true)
|
||||
.call(t.append('inspector.empty'))
|
||||
};
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user