File tree 4 files changed +27
-11
lines changed
4 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 46
46
padding-top : 2em ;
47
47
padding-bottom : 2em ;
48
48
}
49
+
50
+ .space-btw {
51
+ width : 40% ;
52
+ }
53
+
54
+ @media only screen and (max-width : 600px ) {
55
+ .space-btw {
56
+ width : 20% ;
57
+ }
58
+ }
Original file line number Diff line number Diff line change @@ -91,13 +91,11 @@ export default function Login() {
91
91
< label > Not yet registered? Click on sign up.</ label >
92
92
</ div >
93
93
< div className = "row button-group" >
94
- < div className = "col-sm" >
95
- < div className = "row" >
94
+ < div className = "col" >
96
95
< a className = "btn btn-primary" id = "registerbtn" href = "/register" role = "button" > Sign Up</ a >
97
- </ div >
98
96
</ div >
99
- < div className = "col-sm " > </ div >
100
- < div className = "col-sm " >
97
+ < div className = "space-btw " > </ div >
98
+ < div className = "col" >
101
99
< button className = "btn btn-success"
102
100
variant = "success"
103
101
type = "submit"
Original file line number Diff line number Diff line change @@ -49,4 +49,14 @@ width: 80%;
49
49
text-align : left;
50
50
padding-top : 2em ;
51
51
padding-bottom : 2em ;
52
- }
52
+ }
53
+
54
+ .space-btw {
55
+ width : 40% ;
56
+ }
57
+
58
+ @media only screen and (max-width : 600px ) {
59
+ .space-btw {
60
+ width : 20% ;
61
+ }
62
+ }
Original file line number Diff line number Diff line change @@ -245,13 +245,11 @@ export default function Register() {
245
245
< label > Already registered? Click on Login.</ label >
246
246
</ div >
247
247
< div className = "row button-group" >
248
- < div className = "col-sm" >
249
- < div className = "row" >
248
+ < div className = "col" >
250
249
< a className = "btn btn-primary" id = "loginbtn" href = "/login" role = "button" > Login</ a >
251
- </ div >
252
250
</ div >
253
- < div className = "col-sm " > </ div >
254
- < div className = "col-sm " >
251
+ < div className = "space-btw " > </ div >
252
+ < div className = "col" >
255
253
< button className = "btn btn-success"
256
254
variant = "success"
257
255
type = "submit"
You can’t perform that action at this time.
0 commit comments