Skip to content

Commit bdb5a06

Browse files
(fix) login: Restore footer styles for additional logos (#1245)
Restore footer styles for additional logos --------- Co-authored-by: Dennis Kigen <kigen.work@gmail.com>
1 parent d46e219 commit bdb5a06

File tree

2 files changed

+51
-56
lines changed

2 files changed

+51
-56
lines changed

packages/apps/esm-login-app/src/footer.scss

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,57 @@
1313
width: 100%;
1414
}
1515

16+
.logosContainer {
17+
display: flex;
18+
max-height: layout.$spacing-07;
19+
justify-content: flex-end;
20+
flex-direction: row;
21+
gap: layout.$spacing-03;
22+
filter: grayscale(100%);
23+
opacity: 80%;
24+
}
25+
26+
@media only screen and (max-width: 1024px) {
27+
.footer {
28+
flex-direction: row;
29+
justify-content: center;
30+
padding: layout.$spacing-05;
31+
}
32+
33+
.poweredByTile {
34+
padding: layout.$spacing-05 layout.$spacing-03;
35+
font-size: layout.$spacing-04;
36+
align-items: center;
37+
justify-content: center;
38+
}
39+
40+
.logosContainer {
41+
justify-content: center;
42+
gap: layout.$spacing-04;
43+
}
44+
}
45+
46+
@media only screen and (max-width: 480px) {
47+
.footer {
48+
flex-direction: column;
49+
align-items: center;
50+
justify-content: center;
51+
gap: layout.$spacing-03;
52+
padding: layout.$spacing-05;
53+
}
54+
55+
.poweredByTile {
56+
flex-direction: row;
57+
align-items: center;
58+
justify-content: center;
59+
padding: 1.25rem 1rem;
60+
font-size: layout.$spacing-04;
61+
height: auto;
62+
max-width: 100%;
63+
border-radius: layout.$spacing-04;
64+
}
65+
}
66+
1667
.poweredByTile {
1768
display: flex;
1869
text-align: left;

packages/apps/esm-login-app/src/login/login.scss

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@
5050
margin-left: 0.5rem;
5151
}
5252

53-
.logosContainer {
54-
display: flex;
55-
max-height: 2rem;
56-
justify-content: flex-end;
57-
flex-direction: row;
58-
gap: 0.5rem;
59-
filter: grayscale(100%);
60-
opacity: 80%;
61-
}
62-
6353
.loginCard {
6454
border-radius: 0;
6555
border: 1px solid $ui-03;
@@ -78,57 +68,15 @@
7868
}
7969

8070
@media only screen and (max-width: 1024px) {
81-
.footer {
82-
flex-direction: row;
83-
justify-content: center;
84-
padding: 1rem;
85-
}
86-
87-
.poweredByTile {
88-
padding: 1rem 0.5rem;
89-
font-size: 0.8rem;
90-
align-items: center;
91-
justify-content: center;
92-
}
93-
94-
.logosContainer {
95-
justify-content: center;
96-
gap: 0.75rem;
97-
}
98-
9971
.container {
10072
height: 100vh;
10173
}
10274
}
10375

10476
@media only screen and (max-width: 480px) {
105-
.login-card {
106-
margin-top: 2.5%;
107-
border: none;
108-
}
109-
11077
.container {
11178
height: 100vh;
11279
}
113-
114-
.footer {
115-
flex-direction: column;
116-
align-items: center;
117-
justify-content: center;
118-
gap: 0.5rem;
119-
padding: 1rem;
120-
}
121-
122-
.poweredByTile {
123-
flex-direction: row;
124-
align-items: center;
125-
justify-content: center;
126-
padding: 1.2rem 1rem;
127-
font-size: 0.7rem;
128-
height: auto;
129-
max-width: 100%;
130-
border-radius: 0.75rem;
131-
}
13280
}
13381

13482
.inputGroup {
@@ -165,10 +113,6 @@
165113
left: 0;
166114
}
167115

168-
.footer {
169-
margin-top: 6.75rem;
170-
}
171-
172116
.loader {
173117
min-height: fit-content;
174118
}

0 commit comments

Comments
 (0)