Trying some extra spacing.

pull/722/head
Dessalines 2019-08-17 18:59:59 -07:00
parent 7c3ac0c85d
commit 3d84a08aaa
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 {