Skip to content

Commit 6dddc96

Browse files
committed
Adjust spacing for sign in/sign up text
1 parent 475b412 commit 6dddc96

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

src/pages/SignIn.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const SignIn = () => {
110110
>
111111
Email address
112112
</label>
113-
<div className="mt-2">
113+
<div>
114114
<input
115115
id="email"
116116
type="email"
@@ -124,7 +124,7 @@ const SignIn = () => {
124124
</div>
125125

126126
<div>
127-
<div className="flex items-center justify-between">
127+
<div className="flex justify-between">
128128
<label
129129
htmlFor="password"
130130
className="block text-sm/6 font-medium text-gray-900"
@@ -148,7 +148,7 @@ const SignIn = () => {
148148
</a>
149149
</div>
150150
</div>
151-
<div className="mt-2">
151+
<div>
152152
<input
153153
id="password"
154154
type="password"

src/pages/SignUp.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525
background-color: #FAFBFC;
2626
}
2727

28+
.signup-root select {
29+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
30+
background-position: right 0.25rem center;
31+
background-repeat: no-repeat;
32+
background-size: 1.5em 1.5em;
33+
padding-right: 2.5rem;
34+
appearance: none;
35+
}
36+
2837
.signup-card {
2938
background: white;
3039
border-radius: 1rem;

src/pages/SignUp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const SignUp = () => {
9393
>
9494
Email address (required)
9595
</label>
96-
<div className="mt-2">
96+
<div>
9797
<input
9898
id="email"
9999
type="email"
@@ -117,7 +117,7 @@ const SignUp = () => {
117117
Password (required)
118118
</label>
119119
</div>
120-
<div className="mt-2">
120+
<div>
121121
<input
122122
id="password"
123123
type="password"
@@ -139,7 +139,7 @@ const SignUp = () => {
139139
>
140140
Select Your Role
141141
</label>
142-
<div className="mt-2">
142+
<div>
143143
<select
144144
id="role"
145145
name="role"

0 commit comments

Comments
 (0)