From 6bf096b4c8d207d1904f964815b52b4587e4df7d Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Mon, 10 Aug 2020 00:39:30 +0300 Subject: [PATCH] Fix tag display --- src/views/users/index.vue | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/src/views/users/index.vue b/src/views/users/index.vue index 32adca8b..ea892416 100644 --- a/src/views/users/index.vue +++ b/src/views/users/index.vue @@ -56,10 +56,20 @@ @@ -199,9 +204,6 @@ export default { this.$store.dispatch('ClearUsersState') }, methods: { - activationIcon(status) { - return status ? 'el-icon-error' : 'el-icon-success' - }, clearSelection() { this.$refs.usersTable.clearSelection() }, @@ -366,16 +368,12 @@ export default { } .el-table__row { .el-tag { + display: flex; + align-items: center; + justify-content: center; width: 30px; - display: inline-block; margin-bottom: 4px; font-weight: bold; - &.el-tag--success { - padding-left: 8px; - } - &.el-tag--danger { - padding-left: 8px; - } } } .reboot-button {