mirror of
https://github.com/wassname/talk.git
synced 2026-08-16 11:29:31 +08:00
fix: addressed chrome browser issues (#2453)
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
.commentEditingTextInput {
|
||||
width: 120px;
|
||||
}
|
||||
@@ -79,7 +79,9 @@ const CommentLengthConfig: FunctionComponent<Props> = ({ disabled }) => (
|
||||
>
|
||||
<TextField
|
||||
id="configure-general-commentLength-min"
|
||||
className={styles.commentLengthTextInput}
|
||||
classes={{
|
||||
input: styles.commentLengthTextInput,
|
||||
}}
|
||||
{...input}
|
||||
disabled={disabled}
|
||||
autoComplete="off"
|
||||
@@ -123,7 +125,9 @@ const CommentLengthConfig: FunctionComponent<Props> = ({ disabled }) => (
|
||||
>
|
||||
<TextField
|
||||
id="configure-general-commentLength-max"
|
||||
className={styles.commentLengthTextInput}
|
||||
classes={{
|
||||
input: styles.commentLengthTextInput,
|
||||
}}
|
||||
disabled={disabled}
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
|
||||
@@ -97,7 +97,9 @@ const PerspectiveConfig: FunctionComponent<Props> = ({ disabled }) => {
|
||||
<>
|
||||
<TextField
|
||||
id="configure-moderation-perspective-threshold"
|
||||
className={styles.thresholdTextField}
|
||||
classes={{
|
||||
input: styles.thresholdTextField,
|
||||
}}
|
||||
disabled={disabled}
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
|
||||
+3
-1
@@ -111,7 +111,9 @@ const RecentCommentHistoryConfig: FunctionComponent<Props> = ({ disabled }) => {
|
||||
{({ input, meta }) => (
|
||||
<>
|
||||
<TextField
|
||||
className={styles.thresholdTextField}
|
||||
classes={{
|
||||
input: styles.thresholdTextField,
|
||||
}}
|
||||
disabled={disabled}
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
|
||||
@@ -408,13 +408,13 @@ Markdown can be found
|
||||
Minimum Comment Length
|
||||
</label>
|
||||
<div
|
||||
className="TextField-root CommentLengthConfig-commentLengthTextInput"
|
||||
className="TextField-root"
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular TextField-textAlignCenter"
|
||||
className="TextField-input CommentLengthConfig-commentLengthTextInput TextField-colorRegular TextField-textAlignCenter"
|
||||
disabled={false}
|
||||
id="configure-general-commentLength-min"
|
||||
name="charCount.min"
|
||||
@@ -447,13 +447,13 @@ Markdown can be found
|
||||
Maximum Comment Length
|
||||
</label>
|
||||
<div
|
||||
className="TextField-root CommentLengthConfig-commentLengthTextInput"
|
||||
className="TextField-root"
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular TextField-textAlignCenter"
|
||||
className="TextField-input CommentLengthConfig-commentLengthTextInput TextField-colorRegular TextField-textAlignCenter"
|
||||
disabled={false}
|
||||
id="configure-general-commentLength-max"
|
||||
name="charCount.max"
|
||||
@@ -526,7 +526,7 @@ moderation panel.
|
||||
>
|
||||
<select
|
||||
aria-label="unit"
|
||||
className="SelectField-select DurationField-unit"
|
||||
className="SelectField-select DurationField-select"
|
||||
disabled={false}
|
||||
name="editCommentWindowLength-unit"
|
||||
onBlur={[Function]}
|
||||
@@ -671,7 +671,7 @@ moderation panel.
|
||||
>
|
||||
<select
|
||||
aria-label="unit"
|
||||
className="SelectField-select DurationField-unit"
|
||||
className="SelectField-select DurationField-select"
|
||||
disabled={false}
|
||||
name="closeCommenting.timeout-unit"
|
||||
onBlur={[Function]}
|
||||
|
||||
@@ -158,16 +158,12 @@ and submitted comments are counted.
|
||||
type="text"
|
||||
value="7"
|
||||
/>
|
||||
<div
|
||||
className="TextField-adornment"
|
||||
>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary"
|
||||
>
|
||||
Days
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<p
|
||||
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary DurationField-unit"
|
||||
>
|
||||
Days
|
||||
</p>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
@@ -259,13 +255,13 @@ comment history timeframe (does not include comments pending for
|
||||
toxicity, spam or pre-moderation.)
|
||||
</p>
|
||||
<div
|
||||
className="TextField-root RecentCommentHistoryConfig-thresholdTextField"
|
||||
className="TextField-root"
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular TextField-textAlignCenter"
|
||||
className="TextField-input RecentCommentHistoryConfig-thresholdTextField TextField-colorRegular TextField-textAlignCenter"
|
||||
disabled={false}
|
||||
name="recentCommentHistory.triggerRejectionRate"
|
||||
onBlur={[Function]}
|
||||
@@ -519,13 +515,13 @@ the
|
||||
comment is toxic, according to Perspective API. By default the threshold is set to 80%.
|
||||
</p>
|
||||
<div
|
||||
className="TextField-root PerspectiveConfig-thresholdTextField"
|
||||
className="TextField-root"
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="TextField-input TextField-colorRegular TextField-textAlignCenter"
|
||||
className="TextField-input PerspectiveConfig-thresholdTextField TextField-colorRegular TextField-textAlignCenter"
|
||||
disabled={false}
|
||||
id="configure-moderation-perspective-threshold"
|
||||
name="integrations.perspective.threshold"
|
||||
|
||||
Reference in New Issue
Block a user