Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zaheer-Khan3260 committed Nov 9, 2023
1 parent ebb54ef commit ba167b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,14 @@ Our mission is to turn your real estate goals into reality. We're not just in th
id="Name"
type="text"
placeholder="Name"
className="input w-[10rem] mt-10 ml-5 h-10 pt-4 pl-2 border-2 border-black rounded-lg lg:w-5/6"
className="input w-[10rem] mt-10 ml-5 h-10 pl-2 border-2 border-black rounded-lg lg:w-5/6"
/>
<label htmlFor="Name" className="name-label top">Name</label>
<input
id="Email"
type="email"
placeholder="Email"
className="email w-[10rem] mt-8 ml-5 h-10 pt-4 pl-2 border-2 border-black rounded-lg lg:w-5/6"
className="email w-[10rem] mt-8 ml-5 h-10 pl-2 border-2 border-black rounded-lg lg:w-5/6"
/>
<label htmlFor="Name" className="email-label">Email</label>

Expand Down
6 changes: 3 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ body{
cursor: text;
}

@media (max-width: 320px){
@media (min-width: 320px){
.input:placeholder-shown ~ .name-label {
top: 56px;
top: 48px;
}
.email:placeholder-shown ~ .email-label{
top: 128px;
top: 120px;
cursor: text;
}

Expand Down

0 comments on commit ba167b6

Please sign in to comment.