From 9378f242c78a6c6b13cee8c8df38969c474bb4eb Mon Sep 17 00:00:00 2001 From: Danil Kovtonyuk Date: Sun, 9 Feb 2020 00:41:27 +1000 Subject: [PATCH] logout button --- assets/styles/app.scss | 10 ++++++++++ components/Form.vue | 10 +++++++++- pages/make-contribution.vue | 3 --- store/user.js | 6 +++++- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/assets/styles/app.scss b/assets/styles/app.scss index 97d4d89..d757bef 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -607,6 +607,16 @@ fieldset { } .form { + position: relative; + + .logout { + position: absolute; + top: 0; + right: -2px; + height: 22px; + width: 22px + } + .button.is-fullwidth + .button.is-fullwidth { margin-top: 1rem; } diff --git a/components/Form.vue b/components/Form.vue index e4856e9..4429b13 100644 --- a/components/Form.vue +++ b/components/Form.vue @@ -1,6 +1,14 @@