Skip to content

Commit

Permalink
Merge pull request #19 from holaplex/espi/holaplex-design-feedback
Browse files Browse the repository at this point in the history
Updates for Holaplex Theme
  • Loading branch information
kespinola authored May 2, 2023
2 parents 41a9b34 + 96b4cd9 commit 4175fa0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion packages/@holaplexui-playground/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ a {
@apply flex flex-col gap-4;
}

.modal-scrim {
@apply bg-gray-800 bg-opacity-40;
}

.modal-panel {
@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;
@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;
}

.modal-close {
Expand Down
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@holaplex/ui-library-react",
"author": "Holaplex Inc.",
"version": "0.17.2",
"version": "0.18.0",
"description": "Holaplex react ui library components",
"private": false,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function Modal(props: ModalProps) {
<div
className={clsx(
'fixed inset-0 z-40',
'bg-gray-800 bg-opacity-40',
'modal-scrim',
'transition-opacity duration-500 ease-in-out',
'flex flex-col items-center justify-center',
{
Expand Down
2 changes: 1 addition & 1 deletion packages/@holaplexui-react/src/components/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function PopoverBox({
ref={setPopperElement}
style={styles.popper}
{...attributes.popper}
className={clsx('absolute z-20 w-auto', 'popover-panel')}
className={clsx('absolute w-auto', 'popover-panel')}
>
<div className="overflow-hidden popover-content">
<>
Expand Down

0 comments on commit 4175fa0

Please sign in to comment.