mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-24 06:28:49 -05:00
fix add margins for survey modal FOR-596
This commit is contained in:
@@ -19,7 +19,7 @@ export default function Modal({
|
||||
|
||||
return (
|
||||
<div aria-live="assertive" className="absolute inset-0 flex cursor-pointer items-end">
|
||||
<div className="flex w-full flex-col items-center sm:items-end">
|
||||
<div className="flex w-full flex-col items-center p-4 sm:items-end">
|
||||
<div
|
||||
className={cn(
|
||||
show ? "opacity-100" : "opacity-0",
|
||||
@@ -32,7 +32,7 @@ export default function Modal({
|
||||
<div
|
||||
className={cn(
|
||||
show ? "translate-x-0 opacity-100" : "translate-x-28 opacity-0",
|
||||
"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg border-2 border-amber-400 bg-white px-4 py-6 shadow-lg ring-1 ring-black ring-opacity-5 transition-all duration-500 ease-in-out sm:p-6"
|
||||
"pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg border-2 border-amber-400 bg-white px-4 py-6 shadow-lg ring-1 ring-black ring-opacity-5 transition-all duration-500 ease-in-out sm:p-6"
|
||||
)}>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,7 @@ export default function Modal({
|
||||
<div
|
||||
className={cn(
|
||||
show ? "fb-translate-x-0 fb-opacity-100" : "fb-translate-x-28 fb-opacity-0",
|
||||
"fb-pointer-events-auto fb-relative fb-w-full fb-max-w-sm fb-overflow-hidden fb-rounded-lg fb-bg-white fb-shadow-lg fb-ring-1 fb-ring-black fb-ring-opacity-5 fb-transition-all fb-duration-500 fb-ease-in-out fb-z-40"
|
||||
"fb-pointer-events-auto fb-relative fb-w-full fb-max-w-sm fb-overflow-hidden fb-rounded-lg fb-bg-white fb-shadow-lg fb-ring-1 fb-ring-black fb-ring-opacity-5 fb-transition-all fb-duration-500 fb-ease-in-out fb-z-40 fb-m-4"
|
||||
)}>
|
||||
<div class="fb-absolute fb-top-0 fb-right-0 fb-hidden fb-pt-4 fb-pr-4 sm:fb-block">
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user