mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
tweaks
This commit is contained in:
@@ -303,9 +303,10 @@ function showError(input, message) {
|
|||||||
if (!error) {
|
if (!error) {
|
||||||
error = document.createElement('p');
|
error = document.createElement('p');
|
||||||
error.className = 'error-message';
|
error.className = 'error-message';
|
||||||
error.style.color = 'red';
|
error.style.color = '#CC0C0C';
|
||||||
error.style.fontSize = '0.9em';
|
error.style.fontSize = '0.9em';
|
||||||
error.style.marginTop = '6px';
|
error.style.marginTop = '6px';
|
||||||
|
error.style.fontWeight = '600';
|
||||||
input.parentElement.appendChild(error);
|
input.parentElement.appendChild(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user