feat: establish color slider geometry and picker composition
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
@apply origin-(--reka-popper-transform-origin) bg-overlay p-0 text-sm;
|
||||
border-radius: min(32px, var(--radius-3xl));
|
||||
box-shadow: var(--overlay-shadow);
|
||||
/* React Aria supplies this constraint inline; Reka exposes the available size. */
|
||||
max-height: var(--reka-popover-content-available-height);
|
||||
|
||||
/* Entering animations */
|
||||
&[data-entering="true"] {
|
||||
@@ -51,6 +53,10 @@
|
||||
/* Popover dialog */
|
||||
.hv-popover__dialog {
|
||||
@apply p-4 outline-none;
|
||||
/* Keep arrows outside the surface visible; scroll the dialog's content instead. */
|
||||
max-height: inherit;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
/* Popover heading */
|
||||
|
||||
Reference in New Issue
Block a user