Skip to content

Commit

Permalink
fix: mobile layout changes for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
su-docker committed Aug 5, 2024
1 parent abdf318 commit 63369d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ button.hero.icon:after {
justify-content: center;
align-items: center;
background-color: #0000005c;
overflow: auto;
}

.contact-us > div {
Expand Down Expand Up @@ -585,13 +586,20 @@ textarea {
.contact-us > div {
width: auto;
margin: 10px;
padding: 20px;
}

.contact-us .close {
top: 24px;
right: 26px;
}

.contact-us input,
textarea {
padding: 10px;
margin: 5px 0px 15px 0px;
}

.footer {
margin-top: 80px;
}
Expand Down
3 changes: 2 additions & 1 deletion assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function submitForm() {
noteElem.textContent = "Please fill all fields marked *";
} else {
button.disabled = true;
noteElem.textContent = "";
button.textContent = "Processing...";
fetch(formSubmitUrl, {
method: "POST",
Expand All @@ -58,7 +59,7 @@ function submitForm() {
button.textContent = "Thank you! We will reach out to you soon";
setTimeout(() => {
showContactUs(false);
}, 2000);
}, 3000);
})
.catch(function (err) {
button.textContent = "☹";
Expand Down

0 comments on commit 63369d4

Please sign in to comment.