Skip to content

Commit f53d940

Browse files
committed
[golf] fix mobile game summary overlay styles
1 parent 05b59bd commit f53d940

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

src/apps/golf/components/GolfGame.module.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,28 @@
746746
width: 1.5rem;
747747
height: 1.5rem;
748748
}
749+
750+
.cumulativeScores {
751+
padding: 1rem;
752+
margin: 1rem 0;
753+
}
754+
755+
.cumulativeTitle {
756+
font-size: 1rem;
757+
margin-bottom: 0.75rem;
758+
}
759+
760+
.cumulativeRow {
761+
grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 0.9fr;
762+
gap: 0.3rem;
763+
padding: 0.5rem 0.4rem;
764+
font-size: 0.75rem;
765+
}
766+
767+
.cumulativeRow .playerName {
768+
font-size: 0.75rem;
769+
word-break: break-word;
770+
}
749771
}
750772

751773
@media (max-width: 480px) {
@@ -853,6 +875,26 @@
853875
width: 100%;
854876
padding: 0.85rem;
855877
}
878+
879+
.cumulativeScores {
880+
padding: 0.75rem;
881+
margin: 0.75rem 0;
882+
}
883+
884+
.cumulativeTitle {
885+
font-size: 0.95rem;
886+
}
887+
888+
.cumulativeRow {
889+
grid-template-columns: 1.2fr 0.7fr 0.7fr 0.8fr 0.9fr;
890+
gap: 0.25rem;
891+
padding: 0.4rem 0.3rem;
892+
font-size: 0.7rem;
893+
}
894+
895+
.cumulativeRow .playerName {
896+
font-size: 0.7rem;
897+
}
856898
}
857899

858900
/* Game End Overlay Styles */
@@ -875,6 +917,8 @@
875917
border-radius: 1rem;
876918
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
877919
border: 1px solid rgba(255, 255, 255, 0.1);
920+
max-height: 85vh;
921+
overflow-y: auto;
878922
}
879923

880924
.gameEndContent h3 {

0 commit comments

Comments
 (0)