fix markup for subscribe block for long description
This commit is contained in:
committed by
Umputun
parent
f0eeb37dc0
commit
ea4e95c710
@@ -2,4 +2,6 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-top: 8px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
.comment-form__rss {
|
||||
margin-left: auto;
|
||||
align-self: flex-end;
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
@@ -444,21 +444,23 @@ export class CommentForm extends Component<Props, State> {
|
||||
))}
|
||||
|
||||
<div className="comment-form__actions">
|
||||
{!props.simpleView && (
|
||||
<Button
|
||||
kind="secondary"
|
||||
theme={props.theme}
|
||||
size="large"
|
||||
mix="comment-form__button"
|
||||
disabled={isDisabled}
|
||||
onClick={this.getPreview}
|
||||
>
|
||||
<FormattedMessage id="commentForm.preview" defaultMessage="Preview" />
|
||||
<div>
|
||||
{!props.simpleView && (
|
||||
<Button
|
||||
kind="secondary"
|
||||
theme={props.theme}
|
||||
size="large"
|
||||
mix="comment-form__button"
|
||||
disabled={isDisabled}
|
||||
onClick={this.getPreview}
|
||||
>
|
||||
<FormattedMessage id="commentForm.preview" defaultMessage="Preview" />
|
||||
</Button>
|
||||
)}
|
||||
<Button kind="primary" size="large" mix="comment-form__button" type="submit" disabled={isDisabled}>
|
||||
{label}
|
||||
</Button>
|
||||
)}
|
||||
<Button kind="primary" size="large" mix="comment-form__button" type="submit" disabled={isDisabled}>
|
||||
{label}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{!props.simpleView && props.mode === 'main' && (
|
||||
<div className="comment-form__rss">
|
||||
|
||||
Reference in New Issue
Block a user