From 8fd0e5ff57211c611705f9976cffa26fd0aee521 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 14 Oct 2018 13:17:37 -0700 Subject: [PATCH] Fix flexbox view when there are three items --- .../components/dashboard/Dashboard.vue | 8 +-- .../components/dashboard/ServerBox.vue | 65 ++++++++++--------- resources/assets/scripts/helpers/ziggy.js | 2 +- .../styles/components/miscellaneous.css | 26 ++++++-- routes/server.php | 3 + 5 files changed, 62 insertions(+), 42 deletions(-) diff --git a/resources/assets/scripts/components/dashboard/Dashboard.vue b/resources/assets/scripts/components/dashboard/Dashboard.vue index 7769e192..ae436826 100644 --- a/resources/assets/scripts/components/dashboard/Dashboard.vue +++ b/resources/assets/scripts/components/dashboard/Dashboard.vue @@ -33,7 +33,7 @@ import ServerBox from './ServerBox'; import Navigation from '../core/Navigation'; import isObject from 'lodash/isObject'; - import {mapState} from 'vuex'; + import { mapState } from 'vuex'; export default { name: 'dashboard', @@ -72,8 +72,8 @@ }, set: function (value) { this.$store.dispatch('dashboard/setSearchTerm', value); - } - } + }, + }, }, methods: { @@ -112,6 +112,6 @@ onChange: debounce(function () { this.loadServers(); }, 500), - } + }, }; diff --git a/resources/assets/scripts/components/dashboard/ServerBox.vue b/resources/assets/scripts/components/dashboard/ServerBox.vue index 01cde2f1..90a816f0 100644 --- a/resources/assets/scripts/components/dashboard/ServerBox.vue +++ b/resources/assets/scripts/components/dashboard/ServerBox.vue @@ -1,33 +1,35 @@