Small screen fixes

This commit is contained in:
Djuri 2024-08-31 17:56:35 +02:00
parent 4c5d961621
commit 645c0f7d49
2 changed files with 53 additions and 2 deletions

View file

@ -133,6 +133,10 @@ nav {
.digit.icon {
content: 'abc';
svg {
width: 100%;
}
}
}
@ -143,7 +147,29 @@ nav {
@media (max-width: 576px) {
.btclock {
font-size: calc(3vw + 3vh); /* Adjust for small screens if necessary */
font-size: calc(2vw + 2vh); /* Adjust for small screens if necessary */
.digit,
.splitText,
.mediumText {
padding: 5px;
}
.splitText {
.top-text,
.bottom-text {
margin: 0;
line-height: 1;
}
.top-text {
margin-bottom: -10px;
}
.bottom-text {
margin-top: -10px;
}
}
}
}
}