Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tabulator-another-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
tabulator-another-web
Commits
7f023636
Commit
7f023636
authored
Jun 22, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5473c1da
Pipeline
#37945
passed with stages
in 2 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
src/script/participant.ts
src/script/participant.ts
+1
-1
src/style/tournament.scss
src/style/tournament.scss
+5
-7
No files found.
src/script/participant.ts
View file @
7f023636
...
@@ -13,7 +13,7 @@ class Participant {
...
@@ -13,7 +13,7 @@ class Participant {
constructor
(
obj
:
ParticipantObject
)
{
constructor
(
obj
:
ParticipantObject
)
{
const
name
=
obj
.
name
.
split
(
'
+
'
)
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
.
tournamentId
=
obj
.
tournamentId
;
this
.
id
=
obj
.
id
;
this
.
id
=
obj
.
id
;
this
.
score
=
obj
.
score
;
this
.
score
=
obj
.
score
;
...
...
src/style/tournament.scss
View file @
7f023636
...
@@ -28,9 +28,7 @@
...
@@ -28,9 +28,7 @@
#body
{
#body
{
width
:
80%
;
width
:
80%
;
min-width
:
208px
;
min-width
:
208px
;
display
:
grid
;
display
:
flex
;
grid-template-columns
:
repeat
(
3
,
1fr
);
grid-template-rows
:
1fr
;
justify-content
:
center
;
justify-content
:
center
;
transition
:
all
0
.3s
ease
;
transition
:
all
0
.3s
ease
;
#left
{
#left
{
...
@@ -41,16 +39,16 @@
...
@@ -41,16 +39,16 @@
}
}
#left
,
#right
{
#left
,
#right
{
min-width
:
80px
;
min-width
:
80px
;
max-
width
:
40%
;
width
:
40%
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
font-size
:
1
2
px
;
font-size
:
1
6
px
;
}
}
#center
{
#center
{
justify-self
:
center
;
justify-self
:
center
;
width
:
48px
;
min-
width
:
48px
;
min-
width
:
20%
;
width
:
20%
;
color
:
#3b4144
;
color
:
#3b4144
;
flex-direction
:
column
;
flex-direction
:
column
;
padding-right
:
2px
;
padding-right
:
2px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment