1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 16:28:12 +09:00
This commit is contained in:
tamaina 2022-11-27 09:04:09 +09:00 committed by GitHub
parent 707398b1d9
commit dba80a7e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@
<div class="body"> <div class="body">
<div class="top"> <div class="top">
<MkA v-user-preview="appearNote.user.id" class="name" :to="userPage(appearNote.user)"> <MkA v-user-preview="appearNote.user.id" class="name" :to="userPage(appearNote.user)">
<MkUserName :user="appearNote.user"/> <MkUserName :nowrap="false" :user="appearNote.user"/>
</MkA> </MkA>
<span v-if="appearNote.user.isBot" class="is-bot">bot</span> <span v-if="appearNote.user.isBot" class="is-bot">bot</span>
<div class="info"> <div class="info">
@ -397,6 +397,7 @@ if (appearNote.replyId) {
display: flex; display: flex;
position: relative; position: relative;
margin-bottom: 16px; margin-bottom: 16px;
align-items: center;
> .avatar { > .avatar {
display: block; display: block;
@ -416,14 +417,15 @@ if (appearNote.replyId) {
> .top { > .top {
> .name { > .name {
font-weight: bold; font-weight: bold;
line-height: 1.3;
} }
> .is-bot { > .is-bot {
flex-shrink: 0; display: inline-block;
align-self: center;
margin: 0 0.5em; margin: 0 0.5em;
padding: 4px 6px; padding: 4px 6px;
font-size: 80%; font-size: 80%;
line-height: 1;
border: solid 0.5px var(--divider); border: solid 0.5px var(--divider);
border-radius: 4px; border-radius: 4px;
} }
@ -432,6 +434,12 @@ if (appearNote.replyId) {
float: right; float: right;
} }
} }
> .username {
margin-bottom: 2px;
line-height: 1.3;
word-wrap: anywhere;
}
} }
} }