add "Replying as {channel}" to reply input label for comments
This commit is contained in:
parent
8f5ac8263d
commit
b6cd67dbd5
2 changed files with 6 additions and 1 deletions
|
@ -99,7 +99,7 @@ export function CommentCreate(props: Props) {
|
||||||
disabled={channel === CHANNEL_NEW}
|
disabled={channel === CHANNEL_NEW}
|
||||||
type="textarea"
|
type="textarea"
|
||||||
name="content_description"
|
name="content_description"
|
||||||
label={__('Comment')}
|
label={isReply ? __('Replying as %reply_channel%', { reply_channel: channel }) : __('Comment')}
|
||||||
onFocus={onTextareaFocus}
|
onFocus={onTextareaFocus}
|
||||||
placeholder={__('Say something about this...')}
|
placeholder={__('Say something about this...')}
|
||||||
value={commentValue}
|
value={commentValue}
|
||||||
|
|
|
@ -119,6 +119,11 @@ a {
|
||||||
-webkit-user-drag: none;
|
-webkit-user-drag: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
// Hide alt text when an image fails to load
|
||||||
|
text-indent: -9999px;
|
||||||
|
}
|
||||||
|
|
||||||
.columns {
|
.columns {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
Loading…
Add table
Reference in a new issue