diff options
author | B <bssb@users.noreply.github.com> | 2019-01-25 13:06:27 +0300 |
---|---|---|
committer | Matt Button <matt@mattbutton.com> | 2019-01-25 13:06:27 +0300 |
commit | e4f82b4b2f16c1571f1848563583fbb83ab13696 (patch) | |
tree | 497549682bd31cfeb64c84c8440515cd68640eea | |
parent | 4a4eb8588c9159785262c02a7dc47795962124c7 (diff) |
Ensure social icons in footer remain visible on mobile devices (#5)
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/partials/social-icons.html | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 291f531..56e0fda 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,7 +35,7 @@ <ul class="navbar-nav mr-auto"> {{ partial "top-nav-text-links" . }} </ul> - <div class="social-icons"> + <div class="social-icons d-none d-lg-block"> {{ partial "social-icons" . }} </div> </div> diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html index 043e072..fceafb4 100644 --- a/layouts/partials/social-icons.html +++ b/layouts/partials/social-icons.html @@ -1,10 +1,10 @@ {{ with .Site.Social.instagram -}} -<a class="py-2 px-2 d-none d-lg-inline-block" href="https://twitter.com/{{ . }}"><i class="fab fa-twitter"></i></a> +<a class="py-2 px-2" href="https://twitter.com/{{ . }}"><i class="fab fa-twitter"></i></a> {{ end -}} {{ with .Site.Social.twitter -}} -<a class="py-2 px-2 d-none d-lg-inline-block" href="https://instagram.com/{{ . }}"><i class="fab fa-instagram"></i></a> +<a class="py-2 px-2" href="https://instagram.com/{{ . }}"><i class="fab fa-instagram"></i></a> {{ end -}} {{ with .Site.Social.linkedin -}} -<a class="py-2 px-2 d-none d-lg-inline-block" href="https://www.linkedin.com/in/{{ . }}/"><i class="fab fa-linkedin"></i></a> +<a class="py-2 px-2" href="https://www.linkedin.com/in/{{ . }}/"><i class="fab fa-linkedin"></i></a> {{ end -}} -<a class="py-2 px-2 d-none d-lg-inline-block" href='{{ "index.xml" | absURL }}'><i class="fas fa-rss"></i></a>
\ No newline at end of file +<a class="py-2 px-2" href='{{ "index.xml" | absURL }}'><i class="fas fa-rss"></i></a> |