mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-01 20:09:21 -06:00
fix: fixed the gap issue in 2nd onboarding screen ui (#3300)
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com> Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7207a4d3e6
commit
ed7662be5d
@@ -42,7 +42,7 @@ export const OnboardingOptionsContainer = ({ options }: OnboardingOptionsContain
|
||||
return (
|
||||
<div
|
||||
className={cn({
|
||||
"grid w-5/6 grid-cols-3 gap-8 text-center lg:w-2/3": options.length >= 3,
|
||||
"flex w-5/6 justify-center gap-8 text-center md:flex-row lg:w-2/3": options.length >= 3,
|
||||
"flex justify-center gap-8": options.length < 3,
|
||||
})}>
|
||||
{options.map((option) =>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { z } from "zod";
|
||||
import { type ZodIssue, z } from "zod";
|
||||
import { ZActionClass, ZActionClassNoCodeConfig } from "../action-classes";
|
||||
import { ZAttributes } from "../attributes";
|
||||
import { ZAllowedFileExtension, ZColor, ZId, ZPlacement } from "../common";
|
||||
@@ -2009,7 +2009,7 @@ const validateActions = (
|
||||
return undefined;
|
||||
});
|
||||
|
||||
const filteredActionIssues = actionIssues.filter((issue) => issue !== undefined);
|
||||
const filteredActionIssues = actionIssues.filter((issue): issue is ZodIssue => issue !== undefined);
|
||||
return filteredActionIssues;
|
||||
};
|
||||
|
||||
|
||||
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
@@ -29650,4 +29650,4 @@ snapshots:
|
||||
'@types/react': 18.3.3
|
||||
react: 18.3.1
|
||||
|
||||
zwitch@2.0.4: {}
|
||||
zwitch@2.0.4: {}
|
||||
Reference in New Issue
Block a user