feat: add buttons gap

This commit is contained in:
Zamitto 2024-07-10 22:13:42 -03:00
parent 22b66149b3
commit cb93fbcb72

View File

@ -5,6 +5,7 @@ import {
} from "@primer/octicons-react";
import * as styles from "./user.css";
import cn from "classnames";
import { SPACING_UNIT } from "@renderer/theme.css";
export interface UserFriendRequestProps {
userId: string;
@ -59,7 +60,14 @@ export const UserFriendRequest = ({
</div>
</button>
<div style={{ position: "absolute", right: "8px" }}>
<div
style={{
position: "absolute",
right: "8px",
display: "flex",
gap: `${SPACING_UNIT}px`,
}}
>
{isRequestSent ? (
<button
className={styles.cancelRequestButton}