fix d'affichage du snackbar

fix d'affichage sur index.gohtml
Ajout margin à body dans snackbar.css pour éviter de cacher le contenu
This commit is contained in:
Alexel 2023-10-30 13:01:59 -04:00
parent 648e72f209
commit 55c738e2ed
2 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,10 @@
body {
margin-bottom: 50px;
}
.snackbar { .snackbar {
position: fixed; position: fixed;
left: 0;
bottom: 0; bottom: 0;
background-color: #FF563C; background-color: #FF563C;
color: #fff; color: #fff;
@ -40,4 +45,4 @@ span {
height: 30px; height: 30px;
width: 30px; width: 30px;
cursor: pointer; cursor: pointer;
} }

View file

@ -25,10 +25,9 @@
<div class="indexContactSocials"> <div class="indexContactSocials">
<a class="iconLink" href="https://www.facebook.com/asso.agecem"><img class="indexContactSocial" src="/public/icones/facebook-icon.svg"></img></a> <a class="iconLink" href="https://www.facebook.com/asso.agecem"><img class="indexContactSocial" src="/public/icones/facebook-icon.svg"></img></a>
<a class="iconLink" href="https://www.instagram.com/agecem_officiel"><img class="indexContactSocial" src="/public/icones/instagram-icon.svg"></img></a> <a class="iconLink" href="https://www.instagram.com/agecem_officiel"><img class="indexContactSocial" src="/public/icones/instagram-icon.svg"></img></a>
</div> </div>
</div> </div>
{{ template "snackbar-html" }} {{ template "snackbar-html" }}
</body> </body>
</html> </html>
{{ end }} {{ end }}