Skip to content

Commit 611d97c

Browse files
committed
feat: enhance team member management UI and functionality
1 parent c7612f7 commit 611d97c

24 files changed

Lines changed: 3061 additions & 760 deletions

src/assets/css/team/battle/battle-item.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
padding-left: @team-space-3;
148148
border-left: 1px solid @team-border-light;
149149
grid-area: content;
150-
grid-template-columns: minmax(320px, 1fr) max-content;
150+
grid-template-columns: minmax(320px, 1fr) 252px;
151151
gap: @team-space-3;
152152
}
153153

@@ -164,7 +164,7 @@
164164
}
165165

166166
.u-battle-data {
167-
min-width: max-content;
167+
min-width: 0;
168168
}
169169

170170
.u-battle-fields {
@@ -210,9 +210,10 @@
210210
}
211211

212212
.u-battle-links {
213-
display: flex;
213+
display: grid;
214214
min-height: 39px;
215215
align-items: center;
216+
grid-template-columns: repeat(3, minmax(0, 1fr));
216217
}
217218

218219
.u-battle-link {
@@ -222,8 +223,7 @@
222223
min-height: 32px;
223224
align-items: center;
224225
justify-content: center;
225-
flex: none;
226-
padding: 0 12px;
226+
padding: 0 8px;
227227
gap: 7px;
228228

229229
&:first-child {
@@ -312,7 +312,7 @@
312312
padding-left: 0;
313313
border-top: 1px solid @team-border-light;
314314
border-left: 0;
315-
grid-template-columns: minmax(320px, 1fr) max-content;
315+
grid-template-columns: minmax(320px, 1fr) 252px;
316316
}
317317
}
318318
}

0 commit comments

Comments
 (0)