Skip to content

Commit

Permalink
Fix #9234 (#9235)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina authored and mei23 committed Dec 23, 2022
1 parent 8afb6d2 commit e8302c4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions packages/client/src/components/MkNoteDetailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -396,6 +396,7 @@ if (appearNote.replyId) {
display: flex;
position: relative;
margin-bottom: 16px;
align-items: center;
> .avatar {
display: block;
Expand All @@ -415,14 +416,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;
}
Expand All @@ -431,6 +433,12 @@ if (appearNote.replyId) {
float: right;
}
}
> .username {
margin-bottom: 2px;
line-height: 1.3;
word-wrap: anywhere;
}
}
}
Expand Down

1 comment on commit e8302c4

@mei23
Copy link
Owner

@mei23 mei23 commented on e8302c4 Dec 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

テキスト突き抜ける系

Please sign in to comment.