From bf0446bd2ea54ac1735a715962fef71ab1e0e4c0 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Tue, 20 May 2025 18:40:40 +0300 Subject: [PATCH] Fix InfoPopover styles --- app/components/InfoPopover.tsx | 8 ++++---- app/styles/common.css | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/components/InfoPopover.tsx b/app/components/InfoPopover.tsx index 9a70ce994..d32733753 100644 --- a/app/components/InfoPopover.tsx +++ b/app/components/InfoPopover.tsx @@ -1,5 +1,5 @@ import clsx from "clsx"; -import { SendouButton } from "./elements/Button"; +import { Button } from "react-aria-components"; import { SendouPopover } from "./elements/Popover"; export function InfoPopover({ @@ -9,13 +9,13 @@ export function InfoPopover({ return ( ? - + } > {children} diff --git a/app/styles/common.css b/app/styles/common.css index 02c53e61f..d7cebb762 100644 --- a/app/styles/common.css +++ b/app/styles/common.css @@ -598,6 +598,9 @@ abbr[title] { padding: var(--s-0-5); width: 28px; height: 28px; + display: flex; + align-items: center; + justify-content: center; } .react-aria-Button.info-popover__trigger__tiny {