Skip to content

Commit

Permalink
fixup! ユーザー名一覧表示をヘッダーに追加
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakawaTakuya authored and senntou committed Oct 27, 2024
1 parent 1b6efe9 commit 2340292
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default function Header({ users }: HeaderProps) {
<UserList users={users} />
<div
className={styles.logoutButton}
style={{ paddingTop: "12px" }}
onClick={() => window.location.reload()}
>
<ImExit />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Header/UserList/UserList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function UserList({ users }: UserListProps) {
modalOpen={open}
setModalOpen={setOpen}
/>
<IconButton onClick={handleClick}>
<IconButton onClick={handleClick} style={{ paddingTop: "13px" }}>
<Badge badgeContent={users.length} color="secondary">
<PersonIcon />
</Badge>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default function UserListModal({
borderRadius: "15px",
backgroundColor: "white",
margin: "auto",
marginTop: "20vh",
}}
>
<Typography variant="h6" id="user-list-modal-title">
Expand Down

0 comments on commit 2340292

Please sign in to comment.