Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9425477

Browse files
committed
Add the prefix first
mx_CaptchaForm_* Signed-off-by: Suguru Hirahara <[email protected]>
1 parent dbdf83d commit 9425477

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

res/css/views/auth/_AuthBody.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ limitations under the License.
9595
}
9696
}
9797

98-
.mx_recaptchaContainer {
99-
.mx_recaptchaContainer_info,
100-
.mx_recaptchaContainer_error {
98+
.mx_CaptchaForm_recaptchaContainer {
99+
.mx_CaptchaForm_recaptchaContainer_info,
100+
.mx_CaptchaForm_recaptchaContainer_error {
101101
margin: 12px auto;
102102
}
103103
}

src/components/views/auth/CaptchaForm.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ export default class CaptchaForm extends React.Component<ICaptchaFormProps, ICap
133133
}
134134

135135
return (
136-
<div className="mx_recaptchaContainer" ref={this.recaptchaContainer}>
137-
<p className="mx_recaptchaContainer_info">{ _t(
136+
<div className="mx_CaptchaForm_recaptchaContainer" ref={this.recaptchaContainer}>
137+
<p className="mx_CaptchaForm_recaptchaContainer_info">{ _t(
138138
"This homeserver would like to make sure you are not a robot.",
139139
) }</p>
140140
<div
141-
className="mx_recaptchaContainer_recaptcha"
141+
className="mx_CaptchaForm_recaptchaContainer_recaptcha"
142142
id={DIV_ID}
143143
/>
144-
<div className="mx_recaptchaContainer_error">{ error }</div>
144+
<div className="mx_CaptchaForm_recaptchaContainer_error">{ error }</div>
145145
</div>
146146
);
147147
}

0 commit comments

Comments
 (0)