25
25
26
26
< body x-cloak x-data ="index() " x-init ="init() ">
27
27
< div class ="columns is-centered ">
28
- < div class ="column is-half ">
28
+ < div class ="column is-half " style =" width: 60%; " >
29
29
30
30
<!-- header -->
31
31
< div class ="header ">
@@ -81,14 +81,14 @@ <h3 class="title">
81
81
</ h3 >
82
82
< div class ="columns is-desktop is-multiline " style ="display: flex; ">
83
83
< template x-for ="item in hosts " :key ="item ">
84
- < div class ="column is-one-quarter is-desktop ">
85
- < div class ="user " style =" margin: 0 30px; " >
84
+ < div class ="column is-one-quarter is-desktop " style =" width: 20%; " >
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; width: 74px; height: 74px; "
87
+ style ="background-color: #ffc75f;text-align: center;overflow: hidden;line-height: 64px;font-size: 20px; width: 74px; height: 74px; margin: 0 auto; "
88
88
x-text ="$truncate(item.nickname,2,'') " :title ="item.nickname "> </ div >
89
- < div style ="text-align: center; word-break: break-all; ">
89
+ < div style ="text-align: center; word-break: break-all; width: 80px; margin: 0 auto; ">
90
90
< span class ="username " x-bind:class ="{ 'nes-text is-primary': item.status } "
91
- x-text ="$truncate(item.nickname,15 ) " @click ="userControl(item) "> </ span >
91
+ x-text ="$truncate(item.nickname,10 ) " @click ="userControl(item) "> </ span >
92
92
</ div >
93
93
</ div >
94
94
</ div >
@@ -102,12 +102,12 @@ <h3 class="title">
102
102
< div class ="avatar ">
103
103
< div class ="columns is-desktop is-multiline " style ="display: flex; ">
104
104
< template x-for ="item in guests " :key ="item ">
105
- < div class ="column is-one-quarter is-desktop ">
106
- < div class ="user " style =" margin: 0 30px; " >
105
+ < div class ="column is-one-quarter is-desktop " style =" width: 20%; " >
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; width: 74px; height: 74px; "
108
+ style ="background-color: #5eaaa8;text-align: center;overflow: hidden;line-height: 64px;font-size: 20px; width: 74px; height: 74px; margin: 0 auto; "
109
109
x-text ="$truncate(item.nickname,2,'') "> </ div >
110
- < div style ="text-align: center; word-break: break-all; ">
110
+ < div style ="text-align: center; word-break: break-all; width: 80px; margin: 0 auto; ">
111
111
< span class ="username " x-text ="$truncate(item.nickname,15) " @click ="userControl(item) ">
112
112
</ span >
113
113
</ div >
@@ -185,7 +185,7 @@ <h3 class="title">
185
185
class ="nes-textarea "> </ textarea >
186
186
< div class ="columns is-desktop ">
187
187
188
- < div class ="column is-two-fifths ">
188
+ < div class ="column is-two-fifths " style =" margin: 0 auto; " >
189
189
< button class ="nes-btn is-primary " type ="button " @click ="copyLink ">
190
190
Copy Link & Share
191
191
</ button >
0 commit comments