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

Fix issue #668 On cart page email and message box size is different. #695

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
25 changes: 22 additions & 3 deletions Css-files/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -565,20 +565,25 @@ td{
justify-content: center;
align-items: center;
height: max-content;
position:relative;
width: 15rem;
}

#contactForm input,
#contactForm textarea {
width: 64%;
background-color: #ffdaa9;
width: 100%;
padding: 20px;
font-size: 15px;
margin: 5px;
border-radius: 10px;
border: none;
margin-bottom: 15px;
}
#contactForm input{
width: 76%;
width: 100%;
font-size: 15px;
padding-left: 15%;
}

#contactForm h3 {
Expand All @@ -588,8 +593,22 @@ td{
#contactForm textarea {
height: 100px;
resize: none;
padding-left: 15%;
}
.fa-envelope{
position: absolute;
top: 21%;
left: 5%;
font-size: 14px;
color: gray;
}
.fa-comment{
position:absolute;
top:47.5%;
left:5%;
font-size: 14px;
color: gray;
}

#contactForm button {
padding: 10px 20px;
background-color:rgb(196, 74, 74);
Expand Down
2 changes: 2 additions & 0 deletions Html-files/cart.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,10 @@ <h1 style="color: black;font-family: var(--ff-philosopher);">C A R T</h1>

<form id="contactForm">
<h3 style="font-family: var(--ff-philosopher);">Contact Us!</h3>
<i class="fas fa-envelope"></i>
<input type="email" id="email" name="email" placeholder="Your Email" required=""
style="font-family: var(--ff-poppins);">
<i class="fas fa-comment"></i>
<textarea id="message" name="message" placeholder="Your Message" required=""
style="font-family: var(--ff-poppins);"></textarea>

Expand Down