refactor: simplify DigitalClock and TimeConverter components

This commit is contained in:
Loic Coenen
2026-06-25 10:43:36 +02:00
committed by Loic Coenen (aider)
parent 3fed6dc168
commit 0b8d76a057
5 changed files with 43 additions and 41 deletions

View File

@@ -120,4 +120,19 @@ code {
.clock-container input {
font-family: inherit;
border: none;
outline: none;
display: block;
width: 100%;
height: 50px;
font-size: 28px;
text-align: center;
margin: 16px auto;
border-radius: 8px;
background: var(--code-bg);
color: var(--text-h);
}
.time-converter > :first-child {
margin-top: 20px;
}