React embed: fix modal close on click outside (#5181)
* fix: modal close on click outside * fix: for sm viewport * add: main class Co-authored-by: root <root@pop-os.localdomain> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/5016/head^2
parent
ec9b3a4261
commit
5bb868d2c3
|
@ -297,7 +297,7 @@ export default function Success(props: SuccessProps) {
|
|||
aria-hidden="true">
|
||||
<div
|
||||
className={classNames(
|
||||
"inline-block transform overflow-hidden rounded-lg border sm:my-8 sm:max-w-xl",
|
||||
"main inline-block transform overflow-hidden rounded-lg border sm:my-8 sm:max-w-xl",
|
||||
isBackgroundTransparent ? "" : "dark:bg-darkgray-100 bg-white dark:border-neutral-700",
|
||||
"px-8 pt-5 pb-4 text-left align-bottom transition-all sm:w-full sm:py-8 sm:align-middle"
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue