Fix InfoPopover styles

This commit is contained in:
Kalle
2025-05-20 18:40:40 +03:00
parent 31191eeaae
commit bf0446bd2e
2 changed files with 7 additions and 4 deletions

View File

@@ -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 (
<SendouPopover
trigger={
<SendouButton
className={clsx("info-popover__trigger", {
<Button
className={clsx("react-aria-Button", "info-popover__trigger", {
"info-popover__trigger__tiny": tiny,
})}
>
?
</SendouButton>
</Button>
}
>
{children}

View File

@@ -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 {