diff --git a/src/components/Status/index.vue b/src/components/Status/index.vue index 90185840..292e8e68 100644 --- a/src/components/Status/index.vue +++ b/src/components/Status/index.vue @@ -280,7 +280,6 @@ export default { .status-account-name { display: inline-block; margin: 0; - height: 28px; font-size: 15px; font-weight: 500; } diff --git a/src/views/statuses/show.vue b/src/views/statuses/show.vue index 8ae05bcb..d6136129 100644 --- a/src/views/statuses/show.vue +++ b/src/views/statuses/show.vue @@ -2,13 +2,14 @@
- +
- -

{{ user.display_name }}

+ +

{{ user.nickname }}

+

({{ $t('users.invalidNickname') }})

-
@@ -24,8 +25,8 @@
- -

{{ user.display_name }}

+ +

{{ user.nickname }}

@@ -41,7 +42,10 @@
-

{{ $t('userProfile.recentStatuses') }} by {{ user.display_name }}

+

+ {{ $t('userProfile.recentStatuses') }} by {{ user.nickname }} +

+

{{ $t('userProfile.recentStatuses') }}

{{ $t('statuses.showPrivateStatuses') }} @@ -102,9 +106,6 @@ export default { this.$store.dispatch('FetchStatus', this.$route.params.id) }, methods: { - accountExists(account, key) { - return account[key] - }, closeResetPasswordDialog() { this.resetPasswordDialogOpen = false this.$store.dispatch('RemovePasswordToken') @@ -114,6 +115,9 @@ export default { }, openResetPasswordDialog() { this.resetPasswordDialogOpen = true + }, + propertyExists(account, property) { + return account[property] } } } @@ -134,6 +138,9 @@ export default { height: 40px; align-items: center; } +.invalid { + color: gray; +} .no-statuses { margin-left: 28px; color: #606266; @@ -176,6 +183,7 @@ export default { display: flex; justify-content: space-between; margin: 22px 15px 22px 20px; + padding: 0; align-items: center; h1 { display: inline; diff --git a/src/views/users/show.vue b/src/views/users/show.vue index 0e1fd5f0..872883ef 100644 --- a/src/views/users/show.vue +++ b/src/views/users/show.vue @@ -209,8 +209,8 @@ table { align-items: center; } .invalid { - color: gray; - } + color: gray; +} .el-table--border::after, .el-table--group::after, .el-table::before { background-color: transparent; }