diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-10-22 16:09:09 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 15:09:09 +0300 |
| commit | 4dd315f21f2c204be71ef1859aa2412233420517 (patch) | |
| tree | 95831f985e9cef3a5385f51eafb443121dd069b4 /frontend/src/css/Maps.css | |
| parent | fix/frontend: use API url based on environment (#282) (diff) | |
| download | lphub-4dd315f21f2c204be71ef1859aa2412233420517.tar.gz lphub-4dd315f21f2c204be71ef1859aa2412233420517.tar.bz2 lphub-4dd315f21f2c204be71ef1859aa2412233420517.zip | |
feat/frontend: tidy up records view on mobile (#283)
Diffstat (limited to 'frontend/src/css/Maps.css')
| -rw-r--r-- | frontend/src/css/Maps.css | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/frontend/src/css/Maps.css b/frontend/src/css/Maps.css index 4ae6727..66e11c7 100644 --- a/frontend/src/css/Maps.css +++ b/frontend/src/css/Maps.css | |||
| @@ -1050,7 +1050,21 @@ p>span.portal-count { | |||
| 1050 | padding-left: 10px; | 1050 | padding-left: 10px; |
| 1051 | padding-right: 10px; | 1051 | padding-right: 10px; |
| 1052 | margin: 0 10px; | 1052 | margin: 0 10px; |
| 1053 | min-width: max-content; | 1053 | display: flex; |
| 1054 | justify-content: flex-end; | ||
| 1055 | } | ||
| 1056 | |||
| 1057 | #leaderboard-top>span, | ||
| 1058 | #leaderboard-top>div#runner { | ||
| 1059 | display: none; | ||
| 1060 | } | ||
| 1061 | |||
| 1062 | #leaderboard-top>div#page-number { | ||
| 1063 | display: flex; | ||
| 1064 | } | ||
| 1065 | |||
| 1066 | #section6>hr { | ||
| 1067 | display: none; | ||
| 1054 | } | 1068 | } |
| 1055 | 1069 | ||
| 1056 | .leaderboard-record { | 1070 | .leaderboard-record { |
| @@ -1059,8 +1073,30 @@ p>span.portal-count { | |||
| 1059 | padding-right: 10px; | 1073 | padding-right: 10px; |
| 1060 | margin: 10px 10px 0 10px; | 1074 | margin: 10px 10px 0 10px; |
| 1061 | width: calc(100% - 20px); | 1075 | width: calc(100% - 20px); |
| 1062 | min-width: max-content; | ||
| 1063 | box-sizing: border-box; | 1076 | box-sizing: border-box; |
| 1077 | grid-template-columns: 10% 0% 60% 10% 5% 15% 0% 0% !important; | ||
| 1078 | align-items: center; | ||
| 1079 | } | ||
| 1080 | |||
| 1081 | .leaderboard-record>div { | ||
| 1082 | display: grid; | ||
| 1083 | align-items: center; | ||
| 1084 | height: 44px; | ||
| 1085 | } | ||
| 1086 | |||
| 1087 | .leaderboard-record>div>a>span { | ||
| 1088 | overflow: hidden; | ||
| 1089 | text-overflow: ellipsis; | ||
| 1090 | white-space: nowrap; | ||
| 1091 | width: 100%; | ||
| 1092 | display: flex; | ||
| 1093 | align-items: center; | ||
| 1094 | height: 44px; | ||
| 1095 | } | ||
| 1096 | |||
| 1097 | .leaderboard-record>span:nth-child(7), | ||
| 1098 | .leaderboard-record>span:nth-child(8) { | ||
| 1099 | display: none; | ||
| 1064 | } | 1100 | } |
| 1065 | 1101 | ||
| 1066 | .leaderboard-record:last-child { | 1102 | .leaderboard-record:last-child { |
| @@ -1071,6 +1107,11 @@ p>span.portal-count { | |||
| 1071 | height: 28px; | 1107 | height: 28px; |
| 1072 | } | 1108 | } |
| 1073 | 1109 | ||
| 1110 | .leaderboard-record>span>button:has(img[alt="download"]), | ||
| 1111 | .leaderboard-record>span>button:has(img[alt="demo_id"]) { | ||
| 1112 | display: none; | ||
| 1113 | } | ||
| 1114 | |||
| 1074 | #page-number>div { | 1115 | #page-number>div { |
| 1075 | width: 80px; | 1116 | width: 80px; |
| 1076 | } | 1117 | } |