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 {