Skip to content

Commit c6e73ce

Browse files
committed
fix
1 parent 9fc73c7 commit c6e73ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

web_src/css/form.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ textarea:focus,
243243
height: 76px !important;
244244
}
245245
.m-captcha-style {
246-
width: 50%;
246+
max-width: 450px;
247247
}
248248
}
249249

web_src/js/features/captcha.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export async function initCaptcha() {
4141
// * the INPUT_NAME is a "const", it should not be changed.
4242
// * the "mCaptcha.default" is actually the "Widget".
4343

44+
// @ts-expect-error TS2540: Cannot assign to 'INPUT_NAME' because it is a read-only property.
4445
mCaptcha.INPUT_NAME = 'm-captcha-response';
4546
const instanceURL = captchaEl.getAttribute('data-instance-url');
4647

0 commit comments

Comments
 (0)