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 21:06:58 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
017cb049055faa640f1d53e18f0b6cc4cb036f24
017cb049
1 parent
f0257b3d
Builds for 1 pipeline
passed
in 7 minutes 55 seconds
UserStatus의 크기가 닉네임 길이에 따라 가변적으로 변하도록 수정
Changes
1
Builds
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
web/src/components/room/UserStatus.tsx
web/src/components/room/UserStatus.tsx
View file @
017cb04
...
...
@@ -7,10 +7,10 @@ interface UserStatusProps {
export const UserStatus: React.FC<UserStatusProps> = ({ user }) => {
return (
<div className='
w-20
h-12 m-4 rounded-lg shadow'>
<div className='
p-3
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
ease-linear transition-all duration-100`}>
{user.username}</div>
</div>
...
...
Please
register
or
login
to post a comment