mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
feat: add buttons gap
This commit is contained in:
parent
22b66149b3
commit
cb93fbcb72
@ -5,6 +5,7 @@ import {
|
|||||||
} from "@primer/octicons-react";
|
} from "@primer/octicons-react";
|
||||||
import * as styles from "./user.css";
|
import * as styles from "./user.css";
|
||||||
import cn from "classnames";
|
import cn from "classnames";
|
||||||
|
import { SPACING_UNIT } from "@renderer/theme.css";
|
||||||
|
|
||||||
export interface UserFriendRequestProps {
|
export interface UserFriendRequestProps {
|
||||||
userId: string;
|
userId: string;
|
||||||
@ -59,7 +60,14 @@ export const UserFriendRequest = ({
|
|||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div style={{ position: "absolute", right: "8px" }}>
|
<div
|
||||||
|
style={{
|
||||||
|
position: "absolute",
|
||||||
|
right: "8px",
|
||||||
|
display: "flex",
|
||||||
|
gap: `${SPACING_UNIT}px`,
|
||||||
|
}}
|
||||||
|
>
|
||||||
{isRequestSent ? (
|
{isRequestSent ? (
|
||||||
<button
|
<button
|
||||||
className={styles.cancelRequestButton}
|
className={styles.cancelRequestButton}
|
||||||
|
Loading…
Reference in New Issue
Block a user