Skip to content

Commit 813f100

Browse files
authored
Merge pull request #219 from architkshk/login
reduce paddings and bloat in login page
2 parents b6fa99c + 1f17e43 commit 813f100

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

sass/styles/generic/reset.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ body {
1313
@include font($global-font-family, 16px, normal);
1414
padding-top: 100px;
1515
}
16+
17+
@media screen and (max-width: 575px) {
18+
body {
19+
padding-top: 50px;
20+
}
21+
}
22+
1623
@media print {
1724
*,
1825
*:before,

sass/styles/media-query/media.login.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@media screen and (max-width: 575px){
88
.o-login{
9-
padding: 35px 30px;
9+
padding: 30px 30px;
1010
width: 90%;
1111

1212
.input-btn{

sass/styles/objects/o-login/o-login.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66

77
.o-login{
88
@include dimensions(80%, auto);
9-
@include padding-mixin(60px, 72px, 60px, 80px);
10-
@include margin(40px, auto, 0, auto);
9+
@include padding-mixin(40px, 72px, 60px, 80px);
10+
@include margin(0, auto, 0, auto);
1111
max-width: 828px;
1212

13+
.input-text{
14+
height: 60px;
15+
}
16+
1317
.input-btn{
1418
margin-bottom: 28px;
1519
}
@@ -21,7 +25,8 @@
2125
.button-solid{
2226
@include dimensions(30%, 62px);
2327
font-size: $font-sm;
24-
max-width: 198px;
28+
max-width: 198px;
29+
min-width: 120px;
2530
}
2631

2732
.signup{

0 commit comments

Comments
 (0)