diff --git a/app/assets/javascripts/admin/addon/templates/components/watched-word-form.hbs b/app/assets/javascripts/admin/addon/templates/components/watched-word-form.hbs index 66b148c303f..dbc7c8603f5 100644 --- a/app/assets/javascripts/admin/addon/templates/components/watched-word-form.hbs +++ b/app/assets/javascripts/admin/addon/templates/components/watched-word-form.hbs @@ -1,12 +1,12 @@
- {{text-field id="watched-word" value=word disabled=formSubmitted class="watched-word-input" autocorrect="off" autocapitalize="off" placeholderKey=placeholderKey title=(i18n placeholderKey)}} + {{text-field id="watched-word" value=word disabled=formSubmitted class="watched-word-input-field" autocorrect="off" autocapitalize="off" placeholderKey=placeholderKey title=(i18n placeholderKey)}}
{{#if canReplace}}
- {{text-field id="watched-replacement" value=replacement disabled=formSubmitted class="watched-word-input" autocorrect="off" autocapitalize="off" placeholderKey="admin.watched_words.form.replacement_placeholder"}} + {{text-field id="watched-replacement" value=replacement disabled=formSubmitted class="watched-word-input-replace" autocorrect="off" autocapitalize="off" placeholderKey="admin.watched_words.form.replacement_placeholder"}}
{{/if}} diff --git a/app/assets/stylesheets/common/admin/staff_logs.scss b/app/assets/stylesheets/common/admin/staff_logs.scss index c3f9a31fc1f..9d70972ec52 100644 --- a/app/assets/stylesheets/common/admin/staff_logs.scss +++ b/app/assets/stylesheets/common/admin/staff_logs.scss @@ -376,7 +376,13 @@ table.screened-ip-addresses { .watched-word-input { label { display: inline-block; - min-width: 120px; + min-width: 150px; + } + input.watched-word-input-field { + min-width: 300px; + } + input.watched-word-input-replace { + min-width: 260px; } } diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index eaa0cd65302..ec8c4ef2434 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -4707,8 +4707,8 @@ en: replace: "Replace words in posts with other words or links" tag: "Automatically tag topics based on first post" form: - label: "Has the word" - placeholder: "full word or * as wildcard" + label: "Has word or phrase" + placeholder: "Enter word or phrase (* is a wildcard)" placeholder_regexp: "regular expression" replacement_label: "Replacement" replacement_placeholder: "example or https://example.com"