Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fix donate form formobile #1968

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions donate.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,21 @@
background-color: #080300;

}
@media (max-width:700px){
.mobile_responsive{
background-color: rgb(59, 124, 220);
display: flex;
flex-direction: column;
}
.mobile_responsive div{
width:100%;
background-color: rgb(59, 124, 220);
display: flex;
flex-direction: column;

}

}
</style>
</head>

Expand Down Expand Up @@ -191,10 +206,10 @@ <h1 class="sm:text-3xl text-2xl donate-h1 font-medium title-font mb-4 text-amber
Fill up the form below and donate your pets.
</p>
</div>
<form id="survey-form" action="https://formspree.io/f/xayaokzl" method="POST" name="survey-form"
<form id="survey-form" action="https://formspree.io/f/xayaokzl" method="POST" name="survey-form" class="survey-form"
onsubmit="return validateForm()">
<div class="lg:w-1/2 md:w-2/3 mx-auto">
<div class="flex flex-wrap -m-2">
<div class="flex flex-wrap -m-2 mobile_responsive">
<div class="p-2 w-1/2">
<div class="relative">
<label for="name" class="leading-7 text-sm text-gray-900">Full Name</label>
Expand Down Expand Up @@ -460,4 +475,4 @@ <h3 class="text-2xl text-center">Subscribe to our newsletter</h3>
<script src="light-dark-theme.js"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion mobileView.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
margin: 10px auto;
flex-direction: column;
}
}
}