Browse Source

Give clock time min width to avoid inconsistent layout for 12 hour format

Svilen Markov 8 months ago
parent
commit
2e3ed896cc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      internal/assets/static/main.css

+ 4 - 0
internal/assets/static/main.css

@@ -1339,6 +1339,10 @@ details[open] .summary::after {
     transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
 }
 }
 
 
+.clock-time {
+    min-width: 8ch;
+}
+
 .clock-time span {
 .clock-time span {
     color: var(--color-text-highlight);
     color: var(--color-text-highlight);
 }
 }