Overnap

css 폴리싱

...@@ -10,7 +10,7 @@ interface RoomInfoProps { ...@@ -10,7 +10,7 @@ interface RoomInfoProps {
10 10
11 export const RoomInfo: React.FC<RoomInfoProps> = ({ roomData }) => { 11 export const RoomInfo: React.FC<RoomInfoProps> = ({ roomData }) => {
12 return ( 12 return (
13 - <div className='m-3 w-5/6 flex items-center place-content-between'> 13 + <div className='m-3 mb-8 w-5/6 flex items-center place-content-between'>
14 <div>{roomData.name}</div> 14 <div>{roomData.name}</div>
15 <div>{roomData.users.length}/{roomData.maxUsers}</div> 15 <div>{roomData.users.length}/{roomData.maxUsers}</div>
16 </div> 16 </div>
......
...@@ -10,7 +10,8 @@ export const UserStatus: React.FC<UserStatusProps> = ({ user }) => { ...@@ -10,7 +10,8 @@ export const UserStatus: React.FC<UserStatusProps> = ({ user }) => {
10 <div className='w-20 h-12 m-4 rounded-lg shadow'> 10 <div className='w-20 h-12 m-4 rounded-lg shadow'>
11 <div className={`${user.admin ? 'text-blue-500' : 11 <div className={`${user.admin ? 'text-blue-500' :
12 user.ready ? 'text-green-500' : 'text-black'} 12 user.ready ? 'text-green-500' : 'text-black'}
13 - text-lg text-center align-middle my-2.5`}> 13 + text-lg text-center align-middle my-2.5
14 + ease-linear transition-all duration-100`}>
14 {user.username}</div> 15 {user.username}</div>
15 </div> 16 </div>
16 ) 17 )
......