File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
@holaplexui-playground/styles Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 125125 @apply flex flex-col gap-4;
126126}
127127
128+ .modal-scrim {
129+ @apply bg-gray-800 bg-opacity-40;
130+ }
131+
128132.modal-panel {
129- @apply flex flex-col bg-white h-full transform !overflow-visible align-middle transition-all overflow-y-auto rounded-md shadow-md max-h-screen max-w-md sm:h-auto sm:max-w-lg;
133+ @apply flex z-20 flex-col bg-white h-full transform !overflow-visible align-middle transition-all overflow-y-auto rounded-md shadow-md max-h-screen max-w-md sm:h-auto sm:max-w-lg;
130134}
131135
132136.modal-close {
Original file line number Diff line number Diff line change 11{
22 "name" : " @holaplex/ui-library-react" ,
33 "author" : " Holaplex Inc." ,
4- "version" : " 0.17.2 " ,
4+ "version" : " 0.18.0 " ,
55 "description" : " Holaplex react ui library components" ,
66 "private" : false ,
77 "files" : [
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export function Modal(props: ModalProps) {
2828 < div
2929 className = { clsx (
3030 'fixed inset-0 z-40' ,
31- 'bg-gray-800 bg-opacity-40 ' ,
31+ 'modal-scrim ' ,
3232 'transition-opacity duration-500 ease-in-out' ,
3333 'flex flex-col items-center justify-center' ,
3434 {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export function PopoverBox({
5555 ref = { setPopperElement }
5656 style = { styles . popper }
5757 { ...attributes . popper }
58- className = { clsx ( 'absolute z-20 w-auto' , 'popover-panel' ) }
58+ className = { clsx ( 'absolute w-auto' , 'popover-panel' ) }
5959 >
6060 < div className = "overflow-hidden popover-content" >
6161 < >
You can’t perform that action at this time.
0 commit comments