Skip to content

Commit

Permalink
[BSv5] Footer: drop flex-shrink tweak + other adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed May 26, 2023
1 parent f22a70e commit b006a7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ $pagination-disabled-color: $gray-300 !default; // TODO: consider using BS defau

$navbar-dark-color: rgba($white, 0.75) !default; // TODO: consider moving into UG SCSS
$navbar-dark-hover-color: rgba($white, 0.5) !default; // TODO: consider moving into UG SCSS

// Footer

$list-inline-padding: $spacer;
8 changes: 4 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ $links := .Site.Params.links -}}
<footer class="bg-dark py-5 row d-print-none">
<div class="container-fluid flex-shrink-1 mx-sm-5">
<div class="row">
<footer class="bg-dark pt-5 row d-print-none">
<div class="container-fluid">
<div class="row mx-md-2">
<div class="col-6 col-sm-4 text-xs-center order-sm-2">
{{ with $links }}
{{ with index . "user" }}
Expand Down Expand Up @@ -30,7 +30,7 @@
{{- define "footer-links-block" }}
<ul class="list-inline mb-0">
{{ range . }}
<li class="list-inline-item mx-2 h3" data-bs-toggle="tooltip" title="{{ .name }}" aria-label="{{ .name }}">
<li class="list-inline-item h3" data-bs-toggle="tooltip" title="{{ .name }}" aria-label="{{ .name }}">
<a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
<i class="{{ .icon }}"></i>
</a>
Expand Down

0 comments on commit b006a7d

Please sign in to comment.