Fixed #33750 -- Fixed timezone warning alignment with help texts.
Previously help_text was wrapped in a paragraph, but the change to div broke the alignment, refs #27207.
This commit is contained in:
parent
46efd03d26
commit
f3e2bb0833
|
@ -90,10 +90,9 @@
|
||||||
}
|
}
|
||||||
message = interpolate(message, [timezoneOffset]);
|
message = interpolate(message, [timezoneOffset]);
|
||||||
|
|
||||||
const warning = document.createElement('span');
|
const warning = document.createElement('div');
|
||||||
warning.className = warningClass;
|
warning.classList.add('help', warningClass);
|
||||||
warning.textContent = message;
|
warning.textContent = message;
|
||||||
inp.parentNode.appendChild(document.createElement('br'));
|
|
||||||
inp.parentNode.appendChild(warning);
|
inp.parentNode.appendChild(warning);
|
||||||
},
|
},
|
||||||
// Add clock widget to a given field
|
// Add clock widget to a given field
|
||||||
|
|
Loading…
Reference in New Issue