Skip to content

Commit 08960cd

Browse files
committed
Fix mobile header overflow
1 parent 94564f5 commit 08960cd

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

Source Code/style.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,21 @@ button:active {
751751

752752
.header {
753753
height: 60px;
754+
padding: 0 10px;
755+
/* Add some padding */
754756
}
755757

756758
.header h1 {
757-
font-size: 28px;
758-
/* Significantly reduced for mobile */
759+
font-size: 20px;
760+
/* Further reduced from 28px to prevent wrapping */
761+
letter-spacing: 1px;
762+
/* Reduce spacing */
763+
width: 100%;
764+
text-align: center;
765+
white-space: nowrap;
766+
/* Force single line if possible */
767+
overflow: hidden;
768+
text-overflow: ellipsis;
759769
}
760770

761771
.countdown {

0 commit comments

Comments
 (0)