Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
feat: removed popup
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl committed Dec 20, 2023
1 parent 5a82776 commit 5d7aa0a
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions src/components/Email-Form.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="email-form">
<div id="email-form" class="emailform">
<div class="signup-container">
<div class="signup-container1">
<div class="signup-container2">
Expand Down Expand Up @@ -67,23 +67,18 @@
</div>

<style>
@media (max-width: 600px) {
form {
width: 100%;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.emailform {
transform: translateY(33em);
visibility: hidden;
position: absolute;
}

#email-form {
visibility: hidden;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@media (max-width: 825px) {
.emailform {
position: absolute;
transform: translateY(-7em);
}
}

form {
display: flex;
Expand All @@ -99,6 +94,12 @@
border: 1px solid var(--dl-color-gray-white); /* added white border */
}

@media (max-width: 825px) {
form {
width: 95%;
}
}

input[type="text"],
input[type="email"] {
width: 100%;
Expand Down

0 comments on commit 5d7aa0a

Please sign in to comment.