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 }}