}
.img-icon {
- width: 2rem;
- height: 2rem;
+ width: calc(var(--bs-body-line-height) * 1em);
+ height: calc(var(--bs-body-line-height) * 1em);
+ border-radius: 0.25em;
}
.tribute-container ul {
"img-expanded slight-radius":
!this.props.thumbnail && !this.props.icon,
"img-blur": this.props.thumbnail && this.props.nsfw,
- "rounded-circle img-cover img-icon me-2": this.props.icon,
+ "img-cover img-icon me-1": this.props.icon,
"ms-2 mb-0 rounded-circle img-cover avatar-overlay":
this.props.iconOverlay,
"avatar-pushup": this.props.pushup,
siteLanguages: number[];
showCommunity?: boolean;
showBody?: boolean;
- hideAvatars?: boolean;
+ smallAvatars?: boolean;
hideImage?: boolean;
enableDownvotes?: boolean;
enableNsfw?: boolean;
const post_view = this.postView;
return (
<span className="small">
- <PersonListing
- person={post_view.creator}
- hideAvatar={this.props.hideAvatars}
- />
+ <PersonListing person={post_view.creator} />
{this.creatorIsMod_ && (
<span className="mx-1 badge text-bg-light">
{I18NextService.i18n.t("mod")}
<>
{" "}
{I18NextService.i18n.t("to")}{" "}
- <CommunityLink
- community={post_view.community}
- hideAvatar={this.props.hideAvatars}
- />
+ <CommunityLink community={post_view.community} />
</>
)}
{post_view.post.language_id !== 0 && (
showCommunity={this.props.showCommunity}
enableDownvotes={this.props.enableDownvotes}
enableNsfw={this.props.enableNsfw}
- hideAvatars={true}
viewOnly={this.props.viewOnly}
allLanguages={this.props.allLanguages}
siteLanguages={this.props.siteLanguages}