fix standalone links

This commit is contained in:
Johannes
2023-06-12 17:22:32 +02:00
parent d970c121a5
commit c6702cecb8
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -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