mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +00:00
feat: adjust ui
This commit is contained in:
parent
d4902a5ab1
commit
6d277cd1d8
3 changed files with 7 additions and 3 deletions
|
@ -61,7 +61,7 @@ export const friendListButton = style({
|
|||
flexDirection: "row",
|
||||
color: vars.color.body,
|
||||
gap: `${SPACING_UNIT + SPACING_UNIT / 2}px`,
|
||||
padding: "0 8px",
|
||||
padding: `0 ${SPACING_UNIT}px`,
|
||||
});
|
||||
|
||||
export const friendRequestItem = style({
|
||||
|
|
|
@ -362,8 +362,8 @@ export function UserContent({
|
|||
<button
|
||||
key={friend.id}
|
||||
className={cn(
|
||||
styles.friendListContainer,
|
||||
styles.profileContentBox
|
||||
styles.profileContentBox,
|
||||
styles.friendListContainer
|
||||
)}
|
||||
onClick={() => handleOnClickFriend(friend.id)}
|
||||
>
|
||||
|
|
|
@ -11,6 +11,7 @@ export const wrapper = style({
|
|||
|
||||
export const profileContentBox = style({
|
||||
display: "flex",
|
||||
cursor: "pointer",
|
||||
gap: `${SPACING_UNIT * 3}px`,
|
||||
alignItems: "center",
|
||||
borderRadius: "4px",
|
||||
|
@ -192,8 +193,11 @@ export const gameListItem = style({
|
|||
});
|
||||
|
||||
export const friendListContainer = style({
|
||||
color: vars.color.body,
|
||||
width: "100%",
|
||||
height: "54px",
|
||||
padding: `0 ${SPACING_UNIT}px`,
|
||||
gap: `${SPACING_UNIT + SPACING_UNIT / 2}px`,
|
||||
transition: "all ease 0.2s",
|
||||
position: "relative",
|
||||
":hover": {
|
||||
|
|
Loading…
Reference in a new issue