summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2018-12-09 12:51:48 +0100
committermsquare <msquare@notrademark.de>2018-12-09 12:51:48 +0100
commit93b819025c833eaaec730007ad3953c1e8c27768 (patch)
tree30ea5e70b97e750df823acc771ec08424c71a3b7
parent252f003b94464ed38aadfdadc50ec9d333d9ba44 (diff)
fix margin of form submit in tables
-rw-r--r--includes/pages/admin_arrive.php2
-rw-r--r--resources/assets/themes/base.less4
2 files changed, 5 insertions, 1 deletions
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);