headings - more appropriate h2's and disclosure h3

This commit is contained in:
Milos Brzakovic (E-Search)
2021-12-01 18:17:19 +01:00
parent e91dc1b4f6
commit 30ef0b80e1
14 changed files with 21 additions and 13 deletions
+2 -2
View File
@@ -58,13 +58,13 @@ export function uiEntityEditor(context) {
.call(svgIcon(_modified ? '#iD-icon-apply' : '#iD-icon-close'));
headerEnter
.append('h3');
.append('h2');
// Update
header = header
.merge(headerEnter);
header.selectAll('h3')
header.selectAll('h2')
.html(_entityIDs.length === 1 ? t.html('inspector.edit') : t.html('inspector.edit_features'));
header.selectAll('.preset-reset')