mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-05 13:21:36 -05:00
fix standalone links
This commit is contained in:
@@ -203,7 +203,7 @@ export default function LinkSurvey({ survey }: LinkSurveyProps) {
|
||||
loadingElement && "animate-pulse opacity-60",
|
||||
"flex h-full flex-1 items-center overflow-y-auto bg-white"
|
||||
)}>
|
||||
<ContentWrapper className="h-full w-full md:max-w-lg">
|
||||
<ContentWrapper className="w-full md:max-w-lg">
|
||||
{isPreview && (
|
||||
<div className="absolute left-0 top-0 flex w-full items-center justify-between bg-slate-600 p-2 px-4 text-center text-sm text-white shadow-sm">
|
||||
<div className="w-20"></div>
|
||||
|
||||
@@ -62,7 +62,7 @@ export default function MultipleChoiceMultiQuestion({
|
||||
<div className="mt-4">
|
||||
<fieldset>
|
||||
<legend className="sr-only">Options</legend>
|
||||
<div className="relative max-h-[42vh] space-y-2 overflow-y-auto rounded-md py-0.5 pr-2">
|
||||
<div className="xs:max-h-[60vh] relative max-h-[42vh] space-y-2 overflow-y-auto rounded-md py-0.5 pr-2">
|
||||
{question.choices &&
|
||||
question.choices.map((choice) => (
|
||||
<>
|
||||
@@ -124,9 +124,6 @@ export default function MultipleChoiceMultiQuestion({
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
{isIphone && question.choices.length > 5 && (
|
||||
<ChevronDownIcon className="mx-auto h-5 w-5 text-slate-400" />
|
||||
)}
|
||||
</fieldset>
|
||||
</div>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user