set english lang, avoid wrapping

This commit is contained in:
silverwind 2024-04-30 15:46:34 +02:00
parent 6f1702df57
commit 05ca1b85e1
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
2 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,7 @@
justify-content: center;
z-index: 1; /* prevent menu button background from overlaying icon */
user-select: none;
white-space: nowrap;
}
.secondary-nav {

View File

@ -157,6 +157,7 @@ function updateStopwatchTime(seconds) {
const el = document.createElement('relative-time');
el.setAttribute('format', 'micro');
el.setAttribute('datetime', datetime);
el.setAttribute('lang', 'en-US');
parent.append(el);
}
}