fix: fix horizontal floating of the site footer (#169)

* fix: fix horizontal floating of the site footer

* indentation
This commit is contained in:
Robert Kaussow 2021-07-20 10:58:58 +02:00 committed by GitHub
parent a2607d3fe0
commit fe54c2229d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
<footer class="gdoc-footer flex"> <footer class="gdoc-footer">
<div class="container flex flex-wrap"> <div class="container flex">
<div class="flex flex-wrap">
<span class="gdoc-footer__item gdoc-footer__item--row"> <span class="gdoc-footer__item gdoc-footer__item--row">
Built with <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> and Built with <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> and
<svg class="icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg> <svg class="icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg>
@ -16,10 +17,13 @@
{{ end }} {{ end }}
</div> </div>
{{ if (default true .Site.Params.GeekdocBackToTop) }} {{ if (default true .Site.Params.GeekdocBackToTop) }}
<div class="container flex flex-25 justify-end"> <div class="flex flex-25 justify-end">
<span class="gdoc-footer__item"> <span class="gdoc-footer__item">
<a class="gdoc-footer__link fake-link" href="#" aria-label="Back to top"><svg class="icon gdoc_keyborad_arrow_up"><use xlink:href="#gdoc_keyborad_arrow_up"></use></svg> <span class="hidden-mobile">Back to top</span></a> <a class="gdoc-footer__link fake-link" href="#" aria-label="Back to top">
<svg class="icon gdoc_keyborad_arrow_up"><use xlink:href="#gdoc_keyborad_arrow_up"></use></svg> <span class="hidden-mobile">Back to top</span>
</a>
</span> </span>
</div> </div>
{{ end }} {{ end }}
</div>
</footer> </footer>