Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] make demo horizontally scrollable #551

Open
wants to merge 1 commit into
base: main
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 @@ -146,8 +146,10 @@ function ClickableDemoModal({ clickableDemoWithSteps, space, onClose }: Clickabl

return (
<FullScreenModal open={true} onClose={onClose} title={clickableDemoWithSteps.title}>
<div id="iframe-container" className="relative w-full h-[93vh]">
{isLoading && <FullPageLoader />}
<div className="max-w-7xl w-full overflow-x-auto xl:max-w-full">
<div id="iframe-container" className="relative w-full h-[93vh]">
{isLoading && <FullPageLoader />}
</div>
</div>
</FullScreenModal>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function FullScreenModal({ open, title, children, onClose, showCl
</Transition.Child>

<div className={`fixed inset-0 z-10 ${styles.modalContainer}`}>
<div className="flex min--hflul items-end justify-center text-center sm:items-center sm:p-0 h-full">
<div className="flex min-h-full items-end justify-center text-center sm:items-center sm:p-0 h-full">
<Transition.Child
as={Fragment}
enter="ease-out duration-300"
Expand Down
Loading