mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-17 18:04:01 +00:00
Adding better title wrap.
This commit is contained in:
parent
e97feea785
commit
037e2f0229
2 changed files with 5 additions and 1 deletions
|
@ -72,7 +72,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<span title={i18n.t('expand_here')} class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="mx-2 mt-1 float-left img-fluid thumbnail rounded" src={post.url} /></span>
|
<span title={i18n.t('expand_here')} class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="mx-2 mt-1 float-left img-fluid thumbnail rounded" src={post.url} /></span>
|
||||||
}
|
}
|
||||||
<div className="ml-4">
|
<div className="ml-4">
|
||||||
<div>
|
<div className="post-title">
|
||||||
<h6 className="mb-0 d-inline">
|
<h6 className="mb-0 d-inline">
|
||||||
{post.url ?
|
{post.url ?
|
||||||
<a className="text-white" href={post.url} target="_blank" title={post.url}>{post.name}</a> :
|
<a className="text-white" href={post.url} target="_blank" title={post.url}>{post.name}</a> :
|
||||||
|
|
|
@ -71,6 +71,10 @@ body, .text-white, .navbar-brand, .badge-light, .btn-secondary {
|
||||||
margin-top: -3px;
|
margin-top: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-title {
|
||||||
|
line-height: 1.0;
|
||||||
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
|
|
Loading…
Reference in a new issue