feat: adjust ui

This commit is contained in:
Zamitto 2024-07-16 22:07:17 -03:00
parent d4902a5ab1
commit 6d277cd1d8
3 changed files with 7 additions and 3 deletions

View file

@ -61,7 +61,7 @@ export const friendListButton = style({
flexDirection: "row", flexDirection: "row",
color: vars.color.body, color: vars.color.body,
gap: `${SPACING_UNIT + SPACING_UNIT / 2}px`, gap: `${SPACING_UNIT + SPACING_UNIT / 2}px`,
padding: "0 8px", padding: `0 ${SPACING_UNIT}px`,
}); });
export const friendRequestItem = style({ export const friendRequestItem = style({

View file

@ -362,8 +362,8 @@ export function UserContent({
<button <button
key={friend.id} key={friend.id}
className={cn( className={cn(
styles.friendListContainer, styles.profileContentBox,
styles.profileContentBox styles.friendListContainer
)} )}
onClick={() => handleOnClickFriend(friend.id)} onClick={() => handleOnClickFriend(friend.id)}
> >

View file

@ -11,6 +11,7 @@ export const wrapper = style({
export const profileContentBox = style({ export const profileContentBox = style({
display: "flex", display: "flex",
cursor: "pointer",
gap: `${SPACING_UNIT * 3}px`, gap: `${SPACING_UNIT * 3}px`,
alignItems: "center", alignItems: "center",
borderRadius: "4px", borderRadius: "4px",
@ -192,8 +193,11 @@ export const gameListItem = style({
}); });
export const friendListContainer = style({ export const friendListContainer = style({
color: vars.color.body,
width: "100%", width: "100%",
height: "54px", height: "54px",
padding: `0 ${SPACING_UNIT}px`,
gap: `${SPACING_UNIT + SPACING_UNIT / 2}px`,
transition: "all ease 0.2s", transition: "all ease 0.2s",
position: "relative", position: "relative",
":hover": { ":hover": {