diff --git a/app/features/tournament/components/TeamWithRoster.tsx b/app/features/tournament/components/TeamWithRoster.tsx
index 774d42938..09860b2ae 100644
--- a/app/features/tournament/components/TeamWithRoster.tsx
+++ b/app/features/tournament/components/TeamWithRoster.tsx
@@ -60,7 +60,17 @@ export function TeamWithRoster({
tournament.ctx.startTime;
return (
-
+
+ {member.isOwner ? (
+
+ C
+
+ ) : null}
+ {isSub && !member.isOwner ? (
+
+ S
+
+ ) : null}
{member.discordName}{" "}
- {member.isOwner ? (
-
- (C)
-
- ) : null}
- {isSub ? (
-
- Sub
-
- ) : null}
{friendCode ? (
diff --git a/app/features/tournament/tournament.css b/app/features/tournament/tournament.css
index fc35fb189..c42293f14 100644
--- a/app/features/tournament/tournament.css
+++ b/app/features/tournament/tournament.css
@@ -141,10 +141,6 @@
opacity: 0.4;
}
-.tournament__team-with-roster__member__avatar-sub {
- outline: 2px solid var(--theme-info);
-}
-
.tournament__team-with-roster__map-pool {
display: grid;
grid-template-columns: max-content max-content max-content max-content;
@@ -180,6 +176,11 @@
word-break: break-word;
}
+.tournament__team-member-row {
+ list-style: none;
+ position: relative;
+}
+
.tournament__team-member-name {
overflow: hidden;
color: var(--text);
@@ -189,8 +190,22 @@
}
.tournament__team-member-name__role {
- font-size: var(--fonts-xxxs);
- font-weight: var(--bold);
+ position: absolute;
+ background-color: var(--theme-secondary);
+ color: var(--button-text);
+ font-weight: var(--semi-bold);
+ width: 12px;
+ height: 12px;
+ border-radius: var(--rounded);
+ font-size: var(--fonts-xxxxs);
+ display: grid;
+ place-items: center;
+ top: 14px;
+ left: 15px;
+}
+
+.tournament__team-member-name__role__sub {
+ background-color: var(--theme-info);
}
.tournament__logo-container {