sendou.ink/app/components/elements/Popover.module.css
2026-06-21 15:49:15 +03:00

18 lines
475 B
CSS

.content {
max-width: min(20rem, calc(100vw - var(--s-4)));
/* react-aria clamps the popover's max-height/width to the available viewport
space; scroll the overflow instead of letting it spill past the border */
overflow: auto;
padding: var(--s-2);
border: var(--border-style);
border-radius: var(--radius-box);
font-size: var(--font-sm);
font-weight: var(--weight-semi);
white-space: pre-wrap;
background-color: var(--color-bg);
}
.dialog {
outline: none;
}