Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

studio: remove percentage modal height #10977

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function AddEditLocationModal(props: { location?: LocationType; s
}

return (
<div className="relative z-50 max-h-[80vh] w-[50vw] bg-theme-surface-main">
<div className="relative z-50 w-[50vw] bg-theme-surface-main">
<div className="relative rounded-lg shadow">
<ModalHeader
onClose={PopoverState.hidePopupover}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/primitives/tailwind/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const Modal = ({
submitButtonDisabled,
showCloseButton = true
}: ModalProps) => {
const twClassName = twMerge('relative z-50 max-h-[80vh] w-full bg-theme-surface-main', className)
const twClassName = twMerge('relative z-50 w-full bg-theme-surface-main', className)
return (
<div className={twClassName}>
<div className="relative rounded-lg shadow">
Expand Down
Loading