From 55c738e2edd793f162bda60975226f98241efa61 Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 30 Oct 2023 13:01:59 -0400 Subject: [PATCH 1/3] =?UTF-8?q?fix=20d'affichage=20du=20snackbar=20fix=20d?= =?UTF-8?q?'affichage=20sur=20index.gohtml=20Ajout=20margin=20=C3=A0=20bod?= =?UTF-8?q?y=20dans=20snackbar.css=20pour=20=C3=A9viter=20de=20cacher=20le?= =?UTF-8?q?=20contenu?= 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 }} -- 2.45.2 From 2db4d457d477478f9045e7016f41b6776c0f41ff Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 30 Oct 2023 13:13:09 -0400 Subject: [PATCH 2/3] fix formattage de code index.gohtml pour snackbar --- templates/html/index.gohtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/html/index.gohtml b/templates/html/index.gohtml index 85a69fe..b568437 100644 --- a/templates/html/index.gohtml +++ b/templates/html/index.gohtml @@ -27,7 +27,7 @@ - {{ template "snackbar-html" }} + {{ template "snackbar-html" }} {{ end }} -- 2.45.2 From 28814a02c92da9aa6f256adfa87b433552c39443 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Mon, 30 Oct 2023 14:25:33 -0400 Subject: [PATCH 3/3] Retirer extra whitespace --- templates/html/index.gohtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/html/index.gohtml b/templates/html/index.gohtml index b568437..a57071a 100644 --- a/templates/html/index.gohtml +++ b/templates/html/index.gohtml @@ -27,7 +27,7 @@ - {{ template "snackbar-html" }} - + {{ template "snackbar-html" }} + {{ end }} -- 2.45.2