Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-09 20:58:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
efadee5c31a78612938e5baa5745659e83cac176
efadee5c
1 parent
4c059366
css 폴리싱
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
web/src/components/room/RoomInfo.tsx
web/src/components/room/UserStatus.tsx
web/src/components/room/RoomInfo.tsx
View file @
efadee5
...
...
@@ -10,7 +10,7 @@ interface RoomInfoProps {
export const RoomInfo: React.FC<RoomInfoProps> = ({ roomData }) => {
return (
<div className='m-3 w-5/6 flex items-center place-content-between'>
<div className='m-3
mb-8
w-5/6 flex items-center place-content-between'>
<div>{roomData.name}</div>
<div>{roomData.users.length}/{roomData.maxUsers}</div>
</div>
...
...
web/src/components/room/UserStatus.tsx
View file @
efadee5
...
...
@@ -10,7 +10,8 @@ export const UserStatus: React.FC<UserStatusProps> = ({ user }) => {
<div className='w-20 h-12 m-4 rounded-lg shadow'>
<div className={`${user.admin ? 'text-blue-500' :
user.ready ? 'text-green-500' : 'text-black'}
text-lg text-center align-middle my-2.5`}>
text-lg text-center align-middle my-2.5
ease-linear transition-all duration-100`}>
{user.username}</div>
</div>
)
...
...
Please
register
or
login
to post a comment