File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
src/GZCTF/ClientApp/src/components/admin Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const WithChallengeEdit: FC<GameEditTabProps> = (props) => {
48
48
< WithGameEditTab isLoading = { isLoading } { ...rest } >
49
49
< Stack mih = "calc(100vh - 12rem)" justify = "space-between" >
50
50
{ children }
51
- < Group justify = "space-between" w = "100%" >
51
+ < Group justify = "space-between" w = "100%" wrap = "nowrap" >
52
52
< Button
53
53
justify = "space-between"
54
54
disabled = { isLoading || ! previous }
@@ -58,12 +58,16 @@ const WithChallengeEdit: FC<GameEditTabProps> = (props) => {
58
58
{ t ( 'admin.button.challenges.previous' ) }
59
59
</ Button >
60
60
61
- < Group justify = "space-between" gap = "xs" >
62
- < Text c = "dimmed" > { previous ?. title ?? '' } </ Text >
63
- < Text fw = "bold" c = { color ( current ) } >
61
+ < Group justify = "space-between" gap = "xs" wrap = "nowrap" maw = "calc(100% - 16rem)" >
62
+ < Text c = "dimmed" truncate >
63
+ { previous ?. title ?? '' }
64
+ </ Text >
65
+ < Text fw = "bold" c = { color ( current ) } truncate >
64
66
{ current ?. title ?? '' }
65
67
</ Text >
66
- < Text c = "dimmed" > { next ?. title ?? '' } </ Text >
68
+ < Text c = "dimmed" truncate >
69
+ { next ?. title ?? '' }
70
+ </ Text >
67
71
</ Group >
68
72
69
73
< Button
You can’t perform that action at this time.
0 commit comments