File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
frontend/src/pages/leaderboard/components Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ const styles: Record<string, SxProps<Theme>> = {
7474 color : "text.secondary" ,
7575 textAlign : "right" ,
7676 } ,
77+ submissionId : {
78+ fontFamily : "monospace" ,
79+ color : "text.secondary" ,
80+ } ,
7781} ;
7882
7983export default function RankingsList ( {
@@ -174,19 +178,24 @@ export default function RankingsList({
174178 { item . user_name } { getMedalIcon ( item . rank ) }
175179 </ Typography >
176180 </ Grid >
177- < Grid size = { showLoc ? 2 : 3 } >
181+ < Grid size = { 2 } >
178182 < Typography sx = { styles . score } >
179183 { formatMicroseconds ( item . score ) }
180184 </ Typography >
181185 </ Grid >
182- < Grid size = { showLoc ? 2 : 3 } >
186+ < Grid size = { showLoc ? 1.5 : 2 } >
183187 < Typography sx = { styles . delta } >
184188 { item . prev_score > 0 &&
185189 `+${ formatMicroseconds ( item . prev_score ) } ` }
186190 </ Typography >
187191 </ Grid >
192+ < Grid size = { showLoc ? 1.5 : 2 } >
193+ < Typography sx = { styles . submissionId } >
194+ ID: { item . submission_id }
195+ </ Typography >
196+ </ Grid >
188197 { showLoc && (
189- < Grid size = { 2 } >
198+ < Grid size = { 1.5 } >
190199 < Typography sx = { styles . loc } >
191200 { ( ( ) => {
192201 const code = codes . get ( item ?. submission_id ) ;
@@ -197,7 +206,7 @@ export default function RankingsList({
197206 </ Typography >
198207 </ Grid >
199208 ) }
200- < Grid size = { 3 } >
209+ < Grid size = { showLoc ? 2.5 : 3 } >
201210 < Typography >
202211 < CodeDialog
203212 code = { codes . get ( item ?. submission_id ) }
You can’t perform that action at this time.
0 commit comments