mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
fix: survey card issues (#2854)
Co-authored-by: Johannes <johannes@formbricks.com>
This commit is contained in:
committed by
GitHub
parent
7958ef0d1f
commit
a00c696c1a
@@ -683,7 +683,7 @@ export const templates: TTemplate[] = [
|
||||
},
|
||||
{
|
||||
id: createId(),
|
||||
label: { default: "productManager" },
|
||||
label: { default: "Product Manager" },
|
||||
},
|
||||
{
|
||||
id: createId(),
|
||||
@@ -748,7 +748,7 @@ export const templates: TTemplate[] = [
|
||||
},
|
||||
{
|
||||
id: createId(),
|
||||
label: { default: "productManager" },
|
||||
label: { default: "Product Manager" },
|
||||
},
|
||||
{
|
||||
id: createId(),
|
||||
|
||||
@@ -170,7 +170,7 @@ export const StackedCardsContainer = ({
|
||||
<div style={{ height: cardHeight }}></div>
|
||||
{cardArrangement === "simple" ? (
|
||||
<div
|
||||
className={cn("w-full", fullSizeCards ? "h-full" : "")}
|
||||
className={cn("fb-w-full", fullSizeCards ? "fb-h-full" : "")}
|
||||
style={{
|
||||
...borderStyles,
|
||||
}}>
|
||||
|
||||
@@ -128,7 +128,7 @@ export const Modal = ({
|
||||
id="preview-survey-base"
|
||||
aria-live="assertive"
|
||||
className={cn(
|
||||
"relative h-full w-full overflow-hidden",
|
||||
"relative h-full w-full overflow-hidden rounded-b-md",
|
||||
overlayStyle,
|
||||
"transition-all duration-500 ease-in-out"
|
||||
)}>
|
||||
@@ -144,7 +144,7 @@ export const Modal = ({
|
||||
}),
|
||||
}}
|
||||
className={cn(
|
||||
"no-scrollbar pointer-events-auto absolute h-fit max-h-[90%] w-full max-w-sm transition-all duration-500 ease-in-out",
|
||||
"no-scrollbar pointer-events-auto absolute max-h-[90%] w-full max-w-sm transition-all duration-500 ease-in-out",
|
||||
previewMode === "desktop" ? getPlacementStyle(placement) : "max-w-full",
|
||||
slidingAnimationClass
|
||||
)}>
|
||||
|
||||
@@ -5,9 +5,9 @@ export const getPlacementStyle = (placement: TPlacement) => {
|
||||
case "bottomRight":
|
||||
return "bottom-3 sm:right-3";
|
||||
case "topRight":
|
||||
return "sm:top-3 sm:right-3 bottom-3";
|
||||
return "sm:top-6 sm:right-6";
|
||||
case "topLeft":
|
||||
return "sm:top-3 sm:left-3 bottom-3";
|
||||
return "sm:top-6 sm:left-6";
|
||||
case "bottomLeft":
|
||||
return "bottom-3 sm:left-3";
|
||||
case "center":
|
||||
|
||||
Reference in New Issue
Block a user