Skip to content

Commit

Permalink
fix(footer): update styling
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickholzenkamp committed Nov 10, 2021
1 parent 7a51fd0 commit 30d45c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions packages/components/src/components/bal-footer/bal-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
:host {
display: block;
position: static;

div.container {
display: flex;
flex: 1;
align-items: center;
flex-wrap: wrap;
}
}
6 changes: 3 additions & 3 deletions packages/components/src/components/bal-footer/bal-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ export class Footer {
connectedCallback() {
this.updateFooterLinks()
}

@Watch('locale')
watchLocaleHandler() {
this.updateFooterLinks()
}

updateFooterLinks() {
loadFooterLinks(new Language(this.locale)).then(links => this.links = links);
}
Expand All @@ -50,7 +50,7 @@ export class Footer {
>
<slot></slot>
{ this.hideLinks ? '' :
<div class="container">
<div class="container p-1">
{this.links.map((link) =>
<a class="is-link is-inverted pr-4" href={link.link}>{link.label}</a>
)}
Expand Down

1 comment on commit 30d45c3

@vercel
Copy link

@vercel vercel bot commented on 30d45c3 Nov 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.