fix rating question button alignment (#341)

* fix: input in Link Survey / Preview alignment

* fix: input alignment in js package
This commit is contained in:
Moritz Rengert
2023-06-09 10:17:31 +02:00
committed by GitHub
parent 91d4b09453
commit d2aa9b5f04
2 changed files with 2 additions and 2 deletions

View File

@@ -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}
/>

View File

@@ -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}
/>