RegularToot: adjust retoot hint

This commit is contained in:
thislight 2024-11-06 19:38:53 +08:00
parent f3ae69cd26
commit d7b27f037f
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
2 changed files with 8 additions and 7 deletions

View file

@ -369,7 +369,6 @@ const RegularToot: Component<TootCardProps> = (props) => {
<Show when={!!status().reblog}> <Show when={!!status().reblog}>
<div class={tootStyle.tootRetootGrp}> <div class={tootStyle.tootRetootGrp}>
<BoostIcon /> <BoostIcon />
<span>
<Body2 <Body2
ref={(e: { innerHTML: string }) => { ref={(e: { innerHTML: string }) => {
createRenderEffect(() => { createRenderEffect(() => {
@ -379,9 +378,8 @@ const RegularToot: Component<TootCardProps> = (props) => {
); );
}); });
}} }}
></Body2>{" "} ></Body2>
boosted <span>boosts</span>
</span>
</div> </div>
</Show> </Show>
<TootAuthorGroup <TootAuthorGroup

View file

@ -221,11 +221,14 @@
} }
.tootRetootGrp { .tootRetootGrp {
display: grid; display: flex;
grid-template-columns: auto 1fr auto; gap: 0.25em;
gap: 8px;
margin-bottom: 8px; margin-bottom: 8px;
align-items: center; align-items: center;
> :first-child {
margin-right: 0.25em;
}
} }
.tootAttachmentGrp { .tootAttachmentGrp {