Put icons into a level to keep horizontal layout on mobile devices

master
Quentin Duchemin 2021-05-27 02:33:35 +02:00
parent fb30014a2d
commit 62c7ec7511
1 changed files with 24 additions and 18 deletions

View File

@ -77,6 +77,9 @@
</div> </div>
{{ end }} {{ end }}
<div class="navbar-end ml-0 mr-4"> <div class="navbar-end ml-0 mr-4">
<div class="level">
<div class="level-left">
<div class="level-item">
<!-- Each item should have a corresponding assets/img/x.png and link in config.yaml --> <!-- Each item should have a corresponding assets/img/x.png and link in config.yaml -->
{{ range (slice "github" "mastodon" "gitea" "mail" "funkwhale" )}} {{ range (slice "github" "mastodon" "gitea" "mail" "funkwhale" )}}
{{ $imageName := . }} {{ $imageName := . }}
@ -91,4 +94,7 @@
{{ end }} {{ end }}
</div> </div>
</div> </div>
</div>
</div>
</div>
</nav> </nav>