Trying some extra spacing.

This commit is contained in:
Dessalines 2019-08-17 18:59:59 -07:00
parent 6a59b536e5
commit 888fa32783
3 changed files with 5 additions and 4 deletions

View file

@ -56,7 +56,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
render() { render() {
return ( return (
<div> <div class="mb-3">
<form onSubmit={linkEvent(this, this.handleCommentSubmit)}> <form onSubmit={linkEvent(this, this.handleCommentSubmit)}>
<div class="form-group row"> <div class="form-group row">
<div class="col-sm-12"> <div class="col-sm-12">

View file

@ -73,12 +73,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
} }
<div className="ml-4"> <div className="ml-4">
<div> <div>
<h5 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> :
<Link className="text-white" to={`/post/${post.id}`} title={i18n.t('comments')}>{post.name}</Link> <Link className="text-white" to={`/post/${post.id}`} title={i18n.t('comments')}>{post.name}</Link>
} }
</h5> </h6>
{post.url && {post.url &&
<small> <small>
<a className="ml-2 text-muted font-italic" href={post.url} target="_blank" title={post.url}>{(new URL(post.url)).hostname}</a> <a className="ml-2 text-muted font-italic" href={post.url} target="_blank" title={post.url}>{(new URL(post.url)).hostname}</a>

View file

@ -59,8 +59,9 @@ body, .text-white, .navbar-brand, .badge-light, .btn-secondary {
height: auto; height: auto;
} }
.listing { .listing, .comment {
min-height: 61px; min-height: 61px;
margin-bottom: 10px;
} }
.icon { .icon {