mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 01:01:14 +00:00
parent
9a26d4bbdf
commit
967b0dd964
|
@ -207,6 +207,10 @@ hr {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.overflow-wrap-anywhere {
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
@ -61,7 +61,7 @@ export class CommunityLink extends Component<CommunityLinkProps, any> {
|
||||||
{!this.props.hideAvatar && community.icon && showAvatars() && (
|
{!this.props.hideAvatar && community.icon && showAvatars() && (
|
||||||
<PictrsImage src={community.icon} icon />
|
<PictrsImage src={community.icon} icon />
|
||||||
)}
|
)}
|
||||||
<span>{displayName}</span>
|
<span class="overflow-wrap-anywhere">{displayName}</span>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -336,7 +336,7 @@ export class Community extends Component<any, State> {
|
||||||
return (
|
return (
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
<BannerIconHeader banner={community.banner} icon={community.icon} />
|
<BannerIconHeader banner={community.banner} icon={community.icon} />
|
||||||
<h5 class="mb-0">{community.title}</h5>
|
<h5 class="mb-0 overflow-wrap-anywhere">{community.title}</h5>
|
||||||
<CommunityLink
|
<CommunityLink
|
||||||
community={community}
|
community={community}
|
||||||
realLink
|
realLink
|
||||||
|
|
Loading…
Reference in a new issue