From 909a1030ef9eaa5fb605becada919d998abc20ba Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 30 Jun 2021 17:15:13 +0200 Subject: [PATCH] Fix submission button for posts on mobile Closes #747 Signed-off-by: Thomas Citharel --- js/src/views/Posts/Edit.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/js/src/views/Posts/Edit.vue b/js/src/views/Posts/Edit.vue index 5c95a051d..97d9d9305 100644 --- a/js/src/views/Posts/Edit.vue +++ b/js/src/views/Posts/Edit.vue @@ -395,12 +395,23 @@ export default class EditPost extends mixins(GroupMixin) { } form { nav.navbar { - position: sticky; - bottom: 0; - min-height: 2rem; + min-height: 2rem !important; + background: lighten($secondary, 10%); .container { min-height: 2rem; + + .navbar-menu, + .navbar-end { + display: flex !important; + background: lighten($secondary, 10%); + flex-wrap: wrap; + } + + .navbar-end { + justify-content: flex-end; + margin-left: auto; + } } } }