From 55c738e2edd793f162bda60975226f98241efa61 Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 30 Oct 2023 13:01:59 -0400 Subject: [PATCH] =?UTF-8?q?fix=20d'affichage=20du=20snackbar=20fix=20d'aff?= =?UTF-8?q?ichage=20sur=20index.gohtml=20Ajout=20margin=20=C3=A0=20body=20?= =?UTF-8?q?dans=20snackbar.css=20pour=20=C3=A9viter=20de=20cacher=20le=20c?= =?UTF-8?q?ontenu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/snackbar.css | 7 ++++++- templates/html/index.gohtml | 5 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/css/snackbar.css b/public/css/snackbar.css index 724359a..fdd22e9 100644 --- a/public/css/snackbar.css +++ b/public/css/snackbar.css @@ -1,5 +1,10 @@ +body { + margin-bottom: 50px; +} + .snackbar { position: fixed; + left: 0; bottom: 0; background-color: #FF563C; color: #fff; @@ -40,4 +45,4 @@ span { height: 30px; width: 30px; cursor: pointer; -} +} \ No newline at end of file diff --git a/templates/html/index.gohtml b/templates/html/index.gohtml index b90f998..85a69fe 100644 --- a/templates/html/index.gohtml +++ b/templates/html/index.gohtml @@ -25,10 +25,9 @@
-
- {{ template "snackbar-html" }} - + {{ template "snackbar-html" }} + {{ end }}