From e4316f828ce592575aadaed2646ed1b25372fa71 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:09:12 -0700 Subject: [PATCH] fix scrolling for TIDB modal --- src/components/player/TIDBSubmissionForm.tsx | 330 ++++++++++--------- 1 file changed, 167 insertions(+), 163 deletions(-) diff --git a/src/components/player/TIDBSubmissionForm.tsx b/src/components/player/TIDBSubmissionForm.tsx index 3825e40e..7fdeb6fd 100644 --- a/src/components/player/TIDBSubmissionForm.tsx +++ b/src/components/player/TIDBSubmissionForm.tsx @@ -188,172 +188,176 @@ export function TIDBSubmissionForm({ return ( - - - {t("player.skipTime.feedback.modal.title")} - - - {t("player.skipTime.feedback.modal.description")} - +
+
+ + {t("player.skipTime.feedback.modal.title")} + + + {t("player.skipTime.feedback.modal.description")} + -
- {/* Section: Segment timestamps */} -
- - - setFormData({ ...formData, segment: item.id as SegmentType }) - } - /> +
+ {/* Section: Segment timestamps */} +
+ + + setFormData({ ...formData, segment: item.id as SegmentType }) + } + /> +
+ +
+
+
+ + + setFormData({ ...formData, start: value }) + } + placeholder={t( + `player.skipTime.feedback.modal.placeholders.start.${formData.segment}`, + )} + /> +
+
+ + + setFormData({ ...formData, end: value }) + } + placeholder={t( + `player.skipTime.feedback.modal.placeholders.end.${formData.segment}`, + )} + /> +
+
+ + {/* Timing Guidance Section */} +
+

+ {t("player.skipTime.feedback.modal.whenToTitle")} +

+ +

+ {t("player.skipTime.feedback.modal.whenToDesc")} +

+ +
+
+

+ {t("player.skipTime.feedback.modal.guide.startLabel")} +

+

+ {t("player.skipTime.feedback.modal.guide.startDesc")} +

+
+
+

+ {t("player.skipTime.feedback.modal.guide.endLabel")} +

+

+ {t("player.skipTime.feedback.modal.guide.endDesc")} +

+
+
+

+ {t("player.skipTime.feedback.modal.guide.durationLabel")} +

+

+ {t("player.skipTime.feedback.modal.guide.durationDesc")} +

+
+
+

+ {t("player.skipTime.feedback.modal.guide.excludeLabel")} +

+

+ {t("player.skipTime.feedback.modal.guide.excludeDesc")} +

+
+
+
+ +
+ + +
+
- -
-
-
- - - setFormData({ ...formData, start: value }) - } - placeholder={t( - `player.skipTime.feedback.modal.placeholders.start.${formData.segment}`, - )} - /> -
-
- - setFormData({ ...formData, end: value })} - placeholder={t( - `player.skipTime.feedback.modal.placeholders.end.${formData.segment}`, - )} - /> -
-
- - {/* Timing Guidance Section */} -
-

- {t("player.skipTime.feedback.modal.whenToTitle")} -

- -

- {t("player.skipTime.feedback.modal.whenToDesc")} -

- -
-
-

- {t("player.skipTime.feedback.modal.guide.startLabel")} -

-

- {t("player.skipTime.feedback.modal.guide.startDesc")} -

-
-
-

- {t("player.skipTime.feedback.modal.guide.endLabel")} -

-

- {t("player.skipTime.feedback.modal.guide.endDesc")} -

-
-
-

- {t("player.skipTime.feedback.modal.guide.durationLabel")} -

-

- {t("player.skipTime.feedback.modal.guide.durationDesc")} -

-
-
-

- {t("player.skipTime.feedback.modal.guide.excludeLabel")} -

-

- {t("player.skipTime.feedback.modal.guide.excludeDesc")} -

-
-
-
- -
- - -
-
- +
); }