Optimize landscape layout: 4-column grid, transport icons, improved sizing and spacing
This commit is contained in:
6
clock.js
6
clock.js
@@ -82,10 +82,10 @@ class Clock {
|
||||
// Format and display the time
|
||||
this.timeElement.innerHTML = this.formatTime(now);
|
||||
|
||||
// Format and display the date
|
||||
this.dateElement.textContent = " " + this.formatDate(now);
|
||||
// Format and display the date (with a separator)
|
||||
this.dateElement.textContent = " • " + this.formatDate(now);
|
||||
|
||||
// Make sure the date element is visible
|
||||
// Make sure the date element is visible and inline
|
||||
this.dateElement.style.display = 'inline-block';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user