-
Notifications
You must be signed in to change notification settings - Fork 320
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
Fix #179 - Replace autocomplete for contacts #220
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,25 +61,24 @@ export function Modal(props: ModalProps) { | |
leave="ease-in duration-200" | ||
leaveFrom="opacity-100 scale-100" | ||
leaveTo="opacity-0 scale-95" | ||
className={clsx( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. modals everywhere else on the site still work fine after this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, the only place where layout was not looking good was the VideoDemo.tsx modal (Demo video on the landing page) which is now fixed in the latest PR #201 |
||
"w-full transform rounded-2xl bg-white text-left align-middle shadow-xl transition-all", | ||
{ | ||
"p-6": props.padding === "sm", | ||
"p-10": !props.padding, | ||
"sm:w-full sm:max-w-xl": | ||
!props.fullWidth && (!props.size || props.size === "xl"), | ||
"sm:w-full sm:max-w-2xl": | ||
!props.fullWidth && props.size === "2xl", | ||
"sm:w-full sm:max-w-4xl": | ||
!props.fullWidth && props.size === "4xl", | ||
"sm:w-full sm:max-w-6xl": | ||
!props.fullWidth && props.size === "6xl", | ||
"sm:w-full sm:max-w-full": props.fullWidth, | ||
}, | ||
)} | ||
> | ||
<DialogPanel | ||
className={clsx( | ||
"w-full transform rounded-2xl bg-white text-left align-middle shadow-xl transition-all", | ||
{ | ||
"p-6": props.padding === "sm", | ||
"p-10": !props.padding, | ||
"sm:w-full sm:max-w-xl": | ||
!props.fullWidth && (!props.size || props.size === "xl"), | ||
"sm:w-full sm:max-w-2xl": | ||
!props.fullWidth && props.size === "2xl", | ||
"sm:w-full sm:max-w-4xl": | ||
!props.fullWidth && props.size === "4xl", | ||
"sm:w-full sm:max-w-6xl": | ||
!props.fullWidth && props.size === "6xl", | ||
"sm:w-full sm:max-w-full": props.fullWidth, | ||
}, | ||
)} | ||
> | ||
<DialogPanel> | ||
{props.title && ( | ||
<DialogTitle as="h3" className="font-cal text-xl leading-6"> | ||
{props.title} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid primary and just go with the color. we don't use bg-primary anywhere in the codebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!