mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-28 14:18:04 -05:00
Fix InfoPopover styles
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user