Some of the inconsistencies are fixed

This commit is contained in:
MuhammadKhalilzadeh committed 2024-05-07 20:40:01 +03:30
1 parent 68c74de1e4
commit 136a1bc9af
4 files changed
+16

No files matched your search

@@ -20,6 +20,8 @@ function EmailTextField({
const handleMouseLeave = () => setShowIcon(false); const handleMouseLeave = () => setShowIcon(false);
return ( return (
<>
<div className="email-text-field-title">Email</div>
<div className="email-text-field"> <div className="email-text-field">
<TextField <TextField
error={error} error={error}
@@ -46,6 +48,7 @@ function EmailTextField({
onMouseLeave={handleMouseLeave} onMouseLeave={handleMouseLeave}
/> />
</div> </div>
</>
); );
} }
@@ -7,3 +7,9 @@
position: relative; position: relative;
margin: 10px 20px; margin: 10px 20px;
} }
.email-text-field-title {
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
margin: 0 20px;
margin-top: 30px;
}
@@ -17,6 +17,7 @@ function WebsiteTextField({
return ( return (
<> <>
<div className="website-textfield-title">Website</div>
<div className="website-textfield"> <div className="website-textfield">
<label className="website-label" htmlFor="website"> <label className="website-label" htmlFor="website">
http:// http://
@@ -7,6 +7,12 @@
--font-family: "Roboto", "Helvetica", "Arial", sans-serif; --font-family: "Roboto", "Helvetica", "Arial", sans-serif;
} }
.website-textfield-title {
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
margin: 0 20px;
margin-top: 30px;
}
.website-textfield { .website-textfield {
font-family: var(--font-family); font-family: var(--font-family);
display: flex; display: flex;