fix: links and survey overlapping (#1985)

Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
This commit is contained in:
Dhruwang Jariwala
2024-01-31 21:23:51 +05:30
committed by GitHub
parent 43566a54b6
commit f553bce7f1
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ export default function LegalFooter({
return (
<div
className={`fixed bottom-0 h-12 w-full`}
className={`absolute bottom-0 h-12 w-full`}
style={{
backgroundColor: `${bgColor}`,
}}>

View File

@@ -135,7 +135,7 @@ export default function LinkSurvey({
return (
<>
<ContentWrapper className="h-full w-full p-0 md:max-w-md">
<ContentWrapper className="my-12 h-full w-full p-0 md:max-w-md">
{isPreview && (
<div className="fixed 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 />

View File

@@ -195,7 +195,7 @@ export default async function LinkSurveyPage({ params, searchParams }: LinkSurve
}
return survey ? (
<div>
<div className="relative">
<MediaBackground survey={survey}>
<LinkSurvey
survey={survey}