TootAuthorGroup: fix visual on Profile
All checks were successful
/ depoly (push) Successful in 1m19s

This commit is contained in:
thislight 2024-11-24 17:22:38 +08:00
parent 5d6eb7282a
commit d55a117aa4
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
3 changed files with 16 additions and 14 deletions

View file

@ -49,25 +49,27 @@
flex-grow: 1;
text-align: right;
}
}
.name-grp {
display: flex;
flex-flow: column nowrap;
>.name-grp {
display: flex;
flex-flow: column nowrap;
& * {
user-select: text;
}
& * {
user-select: text;
}
.display-name {
display: block;
}
.display-name {
display: block;
}
.username {
user-select: all;
.username {
user-select: all;
}
}
}
.acct-mark {
font-size: 1.2em;
vertical-align: sub;

View file

@ -24,7 +24,7 @@
}
&:hover {
.tootAuthorNamePrimary {
> .name-primary {
text-decoration: underline;
}
}

View file

@ -21,7 +21,7 @@ function TootAuthorGroup(
return (
<div class="TootAuthorGroup" {...rest}>
<Img src={toot().account.avatar} class="avatar" />
<div class={"name-grp"}>
<div class="name-grp">
<div class="name-primary">
<Show when={toot().account.bot}>
<SmartToySharp class="acct-mark" aria-label="Bot" />