@@ -96,7 +96,7 @@ function Messages(props) {
9696 }
9797
9898 return (
99- < div className = "h-full overflow-auto pl-2 pr-4 pb-2" ref = { scroller } >
99+ < div className = "h-full overflow-auto pl-2 pr-4 pb-2 mt-20 " ref = { scroller } >
100100 { msgs . map ( ( msg ) => (
101101 < MessageComp
102102 key = { msg . id }
@@ -133,7 +133,7 @@ function MessageComp({ attribute, showNickname, showTitle }) {
133133
134134 if ( msg . sender . id === player . id ) {
135135 return (
136- < div className = "flex justify-end my-2 mb-8 " >
136+ < div className = "flex justify-end my-2 mb-10 " >
137137 < div className = "relative flex flex-col items-end max-w-[50%]" >
138138 < span className = "absolute -top-5 right-0 text-xs text-gray-400" >
139139 { ts && relTime ( ts ) }
@@ -142,7 +142,7 @@ function MessageComp({ attribute, showNickname, showTitle }) {
142142 < p className = "text-sm" > { msg . text } </ p >
143143 </ div >
144144 < button
145- className = "absolute -bottom-8 right-0 text-lg hover:bg-gray-200 rounded-full px-2 py-1 transition"
145+ className = "absolute -bottom-7 right-0 text-lg hover:bg-gray-200 rounded-full px-2 py-1 transition"
146146 title = "React"
147147 onClick = { ( ) => { } }
148148 >
@@ -154,11 +154,11 @@ function MessageComp({ attribute, showNickname, showTitle }) {
154154 }
155155
156156 return (
157- < div className = "flex justify-start my-2 mb-8 " >
157+ < div className = "flex justify-start my-2 mb-10 " >
158158 < div className = "relative flex flex-col items-start max-w-[50%]" >
159159 < span className = "absolute -top-5 left-0 flex items-center gap-1 text-xs" >
160160 { showNickname && (
161- < span className = "font-bold text-gray-700" style = "margin-right: 10px; ">
161+ < span className = "font-bold text-gray-700 mr-10 " >
162162 { msg . sender . name }
163163 </ span >
164164 ) }
@@ -172,7 +172,7 @@ function MessageComp({ attribute, showNickname, showTitle }) {
172172 < p className = "text-sm" > { msg . text } </ p >
173173 </ div >
174174 < button
175- className = "absolute -bottom-8 right-0 text-lg hover:bg-gray-200 rounded-full px-2 py-1 transition"
175+ className = "absolute -bottom-7 right-0 text-lg hover:bg-gray-200 rounded-full px-2 py-1 transition"
176176 title = "React"
177177 onClick = { ( ) => { } }
178178 >
0 commit comments