mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 15:51:14 +00:00
fix: Fix post creator text alignment
This commit is contained in:
parent
10dbdd7fb7
commit
90cd24b8ca
2 changed files with 10 additions and 6 deletions
|
@ -48,7 +48,9 @@ export class PersonListing extends Component<PersonListingProps, any> {
|
||||||
{!this.props.realLink ? (
|
{!this.props.realLink ? (
|
||||||
<Link
|
<Link
|
||||||
title={apubName}
|
title={apubName}
|
||||||
className={this.props.muted ? "text-muted" : "text-info"}
|
className={`d-inline-flex align-items-baseline ${
|
||||||
|
this.props.muted ? "text-muted" : "text-info"
|
||||||
|
}`}
|
||||||
to={link}
|
to={link}
|
||||||
>
|
>
|
||||||
{this.avatarAndName(displayName)}
|
{this.avatarAndName(displayName)}
|
||||||
|
@ -56,7 +58,9 @@ export class PersonListing extends Component<PersonListingProps, any> {
|
||||||
) : (
|
) : (
|
||||||
<a
|
<a
|
||||||
title={apubName}
|
title={apubName}
|
||||||
className={this.props.muted ? "text-muted" : "text-info"}
|
className={`d-inline-flex align-items-baseline ${
|
||||||
|
this.props.muted ? "text-muted" : "text-info"
|
||||||
|
}`}
|
||||||
href={link}
|
href={link}
|
||||||
rel={relTags}
|
rel={relTags}
|
||||||
>
|
>
|
||||||
|
|
|
@ -386,10 +386,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{this.props.showCommunity && (
|
{this.props.showCommunity && (
|
||||||
<span>
|
<>
|
||||||
<span className="mx-1"> {i18n.t("to")} </span>
|
{" "}
|
||||||
<CommunityLink community={post_view.community} />
|
{i18n.t("to")} <CommunityLink community={post_view.community} />
|
||||||
</span>
|
</>
|
||||||
)}
|
)}
|
||||||
</li>
|
</li>
|
||||||
{post_view.post.language_id !== 0 && (
|
{post_view.post.language_id !== 0 && (
|
||||||
|
|
Loading…
Reference in a new issue