diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2022-11-27 09:04:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-27 09:04:09 +0900 |
| commit | dba80a7e8e0df58cf8359f23e18f642b58ec2440 (patch) | |
| tree | 55a87e5fc70689021bff591bf975e03c61bca140 /packages | |
| parent | enhance: Modify MkInstanceTicker (#9236) (diff) | |
| download | sharkey-dba80a7e8e0df58cf8359f23e18f642b58ec2440.tar.gz sharkey-dba80a7e8e0df58cf8359f23e18f642b58ec2440.tar.bz2 sharkey-dba80a7e8e0df58cf8359f23e18f642b58ec2440.zip | |
Fix #9234 (#9235)
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/client/src/components/MkNoteDetailed.vue | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index 82468027fd..0ba93bbd76 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -35,7 +35,7 @@ <div class="body"> <div class="top"> <MkA v-user-preview="appearNote.user.id" class="name" :to="userPage(appearNote.user)"> - <MkUserName :user="appearNote.user"/> + <MkUserName :nowrap="false" :user="appearNote.user"/> </MkA> <span v-if="appearNote.user.isBot" class="is-bot">bot</span> <div class="info"> @@ -397,6 +397,7 @@ if (appearNote.replyId) { display: flex; position: relative; margin-bottom: 16px; + align-items: center; > .avatar { display: block; @@ -416,14 +417,15 @@ if (appearNote.replyId) { > .top { > .name { font-weight: bold; + line-height: 1.3; } > .is-bot { - flex-shrink: 0; - align-self: center; + display: inline-block; margin: 0 0.5em; padding: 4px 6px; font-size: 80%; + line-height: 1; border: solid 0.5px var(--divider); border-radius: 4px; } @@ -432,6 +434,12 @@ if (appearNote.replyId) { float: right; } } + + > .username { + margin-bottom: 2px; + line-height: 1.3; + word-wrap: anywhere; + } } } |