@@ -84,12 +84,12 @@ <h3 class="title">
84
84
< div class ="column is-one-quarter is-desktop ">
85
85
< div class ="user ">
86
86
< div class ="nes-avatar is-rounded is-large "
87
- style ="background-color: #ffc75f;text-align: center;overflow: hidden;line-height: 64px;font-size: 20px; "
87
+ style ="background-color: #ffc75f;text-align: center;overflow: hidden;line-height: 64px;font-size: 20px; margin: 0 auto; width: 74px; height: 74px; "
88
88
x-text ="$truncate(item.nickname,2,'') " :title ="item.nickname "> </ div >
89
- < span >
89
+ < div style =" text-align: center; word-break: break-all; " >
90
90
< span class ="username " x-bind:class ="{ 'nes-text is-primary': item.status } "
91
- x-text ="$truncate(item.nickname,5 ) " @click ="userControl(item) "> </ span >
92
- </ span >
91
+ x-text ="$truncate(item.nickname,15 ) " @click ="userControl(item) "> </ span >
92
+ </ div >
93
93
</ div >
94
94
</ div >
95
95
</ template >
@@ -105,11 +105,12 @@ <h3 class="title">
105
105
< div class ="column is-one-quarter is-desktop ">
106
106
< div class ="user ">
107
107
< div class ="nes-avatar is-rounded is-large "
108
- style ="background-color: #5eaaa8;text-align: center;overflow: hidden;line-height: 64px;font-size: 20px; "
108
+ style ="background-color: #5eaaa8;text-align: center;overflow: hidden;line-height: 64px;font-size: 20px; margin: 0 auto; width: 74px; height: 74px; "
109
109
x-text ="$truncate(item.nickname,2,'') "> </ div >
110
- < span class ="username " x-text ="$truncate(item.nickname,5) " @click ="userControl(item) ">
111
-
112
- </ span >
110
+ < div style ="text-align: center; word-break: break-all; ">
111
+ < span class ="username " x-text ="$truncate(item.nickname,15) " @click ="userControl(item) ">
112
+ </ span >
113
+ </ div >
113
114
</ div >
114
115
</ div >
115
116
</ template >
@@ -133,8 +134,6 @@ <h3 class="title">
133
134
Leave Room
134
135
</ button >
135
136
</ div >
136
- </ div >
137
- < div style ="display: flex; ">
138
137
< div class ="column " x-show ="isAdmin || isHost ">
139
138
< button class ="nes-btn " x-text ="rtcEnable?'Mute':'Unmute' " type ="button " @click ="muteMySelf ">
140
139
Mute Myself
@@ -162,8 +161,6 @@ <h3 class="title">
162
161
< button type ="button " @click ="adminSwitch(selectUser);selectUser={} " class ="nes-btn is-warning "
163
162
style ="margin: 10px 15px; " x-show ="selectUser.role!='guest' "
164
163
x-text ="selectUser.role=='admin'?'↓ Host':'↑ Admin' "> </ button >
165
- </ div >
166
- < div style ="display: flex; text-align: center; ">
167
164
< button type ="button " class ="nes-btn is-warning " style ="margin: 10px 15px; "
168
165
x-show ="selectUser.role!='admin' " @click ="makePeopleBeHost(selectUser);selectUser={} "
169
166
x-text ="selectUser.role=='host'?'↓ Audience':'↑ Host' "> </ button >
0 commit comments