Skip to content

Commit c0d8da7

Browse files
committed
Styling added for label and error text.
1 parent 2ddc626 commit c0d8da7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/App.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.App {
2+
margin: 20px;
3+
}
4+
15
.form-control {
26
width: 50%;
37
border: 1px solid #ccc;
@@ -8,12 +12,14 @@
812
border: 1px solid red;
913
}
1014

11-
label {
12-
margin-right: 5px;
15+
.form-group label,
16+
.form-group .info-text {
17+
display: block;
18+
margin-bottom: 10px;
1319
}
1420

1521
.btn-submit {
16-
margin: 20px 45px;
22+
margin: 20px 0;
1723
padding: 8px 14px;
1824
font-size: 16px;
1925
}

0 commit comments

Comments
 (0)