Skip to content

Commit 1371909

Browse files
committed
implement new footer design for mobile
1 parent e06aece commit 1371909

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

addon/styles/components/es-footer.css

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
}
2121

2222
& .footer-info {
23+
padding-bottom: var(--spacing-5);
24+
padding-top: var(--spacing-5);
2325
display: flex;
2426
justify-content: space-between;
2527

@@ -82,6 +84,10 @@
8284
color: var(--color-gray-600);
8385
display: flex;
8486
justify-content: space-between;
87+
88+
& .sponsor-icons {
89+
margin-top: var(--spacing-1);
90+
}
8591
}
8692

8793
& .footer-contributor-logo,
@@ -93,30 +99,31 @@
9399

94100
@media (max-width: 1007px) {
95101
& .footer-info {
102+
padding-bottom: var(--spacing-3);
103+
padding-top: var(--spacing-3);
96104
flex-direction: column;
97105

98106
& .footer-logo {
99-
margin-bottom: var(--spacing-1);
100107
width: 5rem;
101108
}
102109
}
103110

104111
& .footer-info-links {
105-
display: flex;
112+
display: block;
106113
flex-wrap: wrap;
107114

108115
& > a {
109116
margin-right: var(--spacing-2);
110117
}
111-
112-
& .logo-wrapper {
113-
width: 100%;
114-
}
115118
}
116119

117120
& .footer-contributions {
118121
align-items: start;
119122
flex-direction: column;
123+
124+
& .sponsor-icons {
125+
margin-top: var(--spacing-2);
126+
}
120127
}
121128
}
122129
}

addon/templates/components/es-footer/es-contributions.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="footer-contributions-wrapper container pt-0 pb-3">
22
<div class="footer-contributions">
33
<span>Ember is generously supported by</span>
4-
<div class="mt-1">
4+
<div class="sponsor-icons">
55
{{#each args.contributorLinks as |link|}}
66
<a href={{link.href}} title={{link.title}} aria-label={{link.title}} class="mr-2">
77
{{svg-jar link.class class="footer-contributor-logo"}}

addon/templates/components/es-footer/es-info.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="footer-info container py-5">
1+
<div class="footer-info container">
22
<div class="footer-info-links">
33

44
<img src="/images/ember-logo.svg" height="40px" width="83px" alt="Ember Logo" class="footer-logo">

0 commit comments

Comments
 (0)