From 93b819025c833eaaec730007ad3953c1e8c27768 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 9 Dec 2018 12:51:48 +0100 Subject: [PATCH] fix margin of form submit in tables --- includes/pages/admin_arrive.php | 2 +- resources/assets/themes/base.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php index bd51c11c..90f939fb 100644 --- a/includes/pages/admin_arrive.php +++ b/includes/pages/admin_arrive.php @@ -102,7 +102,7 @@ function admin_arrive() form_hidden('user', $usr->id), form_submit( 'submit', $usr->state->arrived ? __('reset') : __('arrived'), 'btn-xs', true, - $usr->state->arrived ? 'danger' : 'primary' + $usr->state->arrived ? 'default' : 'primary' ), ]); diff --git a/resources/assets/themes/base.less b/resources/assets/themes/base.less index b3c51a35..493cfbc2 100644 --- a/resources/assets/themes/base.less +++ b/resources/assets/themes/base.less @@ -51,6 +51,10 @@ table a > .icon-icon_angel { background-color: @text-color; } +.table .form-group { + margin-bottom: 0; +} + .stats { .make-md-column(3); .make-xs-column(6);