Fixed -- Fixed timezone warning alignment with help texts.
Previously help_text was wrapped in a paragraph, but the change to div
broke the alignment, refs
}
message = interpolate(message, [timezoneOffset]);
- const warning = document.createElement('span');
- warning.className = warningClass;
+ const warning = document.createElement('div');
+ warning.classList.add('help', warningClass);
warning.textContent = message;
- inp.parentNode.appendChild(document.createElement('br'));
inp.parentNode.appendChild(warning);
},
// Add clock widget to a given field
