diff --git a/apps/web/components/preview/RatingQuestion.tsx b/apps/web/components/preview/RatingQuestion.tsx index e1cbe119ad..a3d0f7ee20 100644 --- a/apps/web/components/preview/RatingQuestion.tsx +++ b/apps/web/components/preview/RatingQuestion.tsx @@ -51,7 +51,7 @@ export default function RatingQuestion({ type="radio" name="rating" value={number} - className="absolute h-full w-full cursor-pointer opacity-0" + className="absolute left-0 h-full w-full cursor-pointer opacity-0" onChange={() => handleSelect(number)} required={question.required} /> diff --git a/packages/js/src/components/RatingQuestion.tsx b/packages/js/src/components/RatingQuestion.tsx index e05eaae042..2036a8b5dd 100644 --- a/packages/js/src/components/RatingQuestion.tsx +++ b/packages/js/src/components/RatingQuestion.tsx @@ -49,7 +49,7 @@ export default function RatingQuestion({ type="radio" name="rating" value={number} - className="fb-absolute fb-h-full fb-w-full fb-cursor-pointer fb-opacity-0" + className="fb-absolute fb-h-full fb-w-full fb-cursor-pointer fb-opacity-0 fb-left-0" onChange={() => handleSelect(number)} required={question.required} />