Commit 7f023636 authored by xiaoye's avatar xiaoye

fix

parent 5473c1da
Pipeline #37945 passed with stages
in 2 minutes and 41 seconds
......@@ -13,7 +13,7 @@ class Participant {
constructor(obj: ParticipantObject) {
const name = obj.name.split('+')
this.name = (name.length == 2 && !Number.isNaN(name[0])) ? name[1] : obj.name;
this.name = (name.length == 2 && !Number.isNaN(name[0]) && name[0].length > 3) ? name[1] : obj.name;
this.tournamentId = obj.tournamentId;
this.id = obj.id;
this.score = obj.score;
......
......@@ -28,9 +28,7 @@
#body {
width: 80%;
min-width: 208px;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
display: flex;
justify-content: center;
transition: all 0.3s ease;
#left {
......@@ -41,16 +39,16 @@
}
#left, #right {
min-width: 80px;
max-width: 40%;
width: 40%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-size: 12px;
font-size: 16px;
}
#center {
justify-self: center;
width: 48px;
min-width: 20%;
min-width: 48px;
width: 20%;
color: #3b4144;
flex-direction: column;
padding-right: 2px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment