Skip to content

Commit

Permalink
Worked on improving alignment of elements in the footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdellis committed Oct 7, 2024
1 parent 69da4cc commit e95565f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/components/LuxLibraryFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
<lux-wrapper class="lux-footer-content" :maxWidth="maxWidth">
<div class="lux-footer-main">
<div class="lux-library-links contact-info-layout">
<lux-library-logo width="245" height="54" :theme="value(theme)" />
<lux-library-contact-info :theme="value(theme)" />
<div>
<lux-library-logo width="245" height="54" :theme="value(theme)" />
<lux-library-contact-info :theme="value(theme)" />
</div>
</div>
<div class="lux-library-links subscribe-layout">
<h2>Subscribe to our Newsletter</h2>
Expand Down Expand Up @@ -44,7 +46,7 @@
<div class="lux-library-links">
<lux-university-accessibility :theme="value(theme)" />
</div>
<div class="lux-library-links">
<div class="lux-library-links center-panel">
<lux-university-copyright type="div" :theme="value(theme)" />
</div>
<div class="lux-library-links pu-logo-white">
Expand Down Expand Up @@ -141,9 +143,15 @@ export default {
.contact-info-layout {
@media (min-width: 900px) {
border-right: 1px solid rgba(255, 255, 255, 0.3);
.contact-info-layout div {
padding-left: 1.5rem;
}
}
@media (max-width: 899px) {
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
.contact-info-layout div {
padding-left: 0;
}
}
}
Expand Down Expand Up @@ -289,6 +297,11 @@ export default {
}
}
&.center-panel {
align-content: center;
text-align: center;
}
h2 {
font-family: var(--font-family-heading);
font-size: var(--font-size-base);
Expand All @@ -308,7 +321,6 @@ export default {
list-style-type: none;
display: flex;
flex-flow: column wrap;
align-content: end;
padding-right: 2rem;
@media (max-width: 899px) {
padding: 0rem 2rem 0rem 0rem;
Expand All @@ -326,6 +338,7 @@ export default {
}
}
}
</style>

<docs>
Expand Down
1 change: 1 addition & 0 deletions src/components/_LuxUniversityAccessibility.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default {
font-family: var(--font-family-heading);
font-size: var(--font-size-base);
line-height: var(--line-height-heading);
padding-left: 8px;
:deep(.lux-link) {
box-shadow: none;
Expand Down

0 comments on commit e95565f

Please sign in to comment.