From 42aec79ad148ccb4d5b531df160580c7c1962a99 Mon Sep 17 00:00:00 2001 From: Lars Date: Mon, 11 May 2026 08:51:56 +0200 Subject: [PATCH] fix(p06): RightsDeclarationDialog als echtes Modal (admin-modal-backdrop) modal-overlay/modal-content existierten nicht im CSS und hatten kein Styling -- daher kein Backdrop, keine Zentrierung. Umgestellt auf admin-modal-backdrop + admin-modal-sheet wie alle anderen Modals in der App. version: 0.8.76 Co-Authored-By: Claude Sonnet 4.6 --- .../components/RightsDeclarationDialog.jsx | 248 +++++++++--------- 1 file changed, 126 insertions(+), 122 deletions(-) diff --git a/frontend/src/components/RightsDeclarationDialog.jsx b/frontend/src/components/RightsDeclarationDialog.jsx index b05b221..d714fb1 100644 --- a/frontend/src/components/RightsDeclarationDialog.jsx +++ b/frontend/src/components/RightsDeclarationDialog.jsx @@ -89,149 +89,153 @@ export default function RightsDeclarationDialog({ } return ( -
-
-

{titleMap[mode] || titleMap.upload}

-

- VORLÄUFIG – Texte noch nicht juristisch geprüft (p06-v1-conservative). - {isPromotion && ( - <> Die bestehende Erklärung gilt nicht für die Sichtbarkeit „{visLabel}". Bitte erneut bestätigen. - )} -

- - {/* T1 */} -
- setField('rights_holder_confirmed', e.target.checked)} - style={{ marginTop: 3, flexShrink: 0 }} - /> - +
e.target === e.currentTarget && handleCancel()}> +
e.stopPropagation()} + > +
+

+ {titleMap[mode] || titleMap.upload} +

+
- {/* T2 / T3 */} -
- - Sind erkennbare Personen abgebildet? * - -
- -
- {/* T4 / T5 */} -
- - Sind Minderjährige abgebildet? * - -
- - -
- {decl.contains_minors === true && ( -
- setField('parental_consent_confirmed', e.target.checked)} - style={{ marginTop: 3, flexShrink: 0 }} /> -
- {/* T6 / T7 */} -
- - Enthält das Medium Musik? * - -
- - -
- {decl.contains_music === true && ( -
- setField('music_rights_confirmed', e.target.checked)} - style={{ marginTop: 3, flexShrink: 0 }} /> -
- {/* T8 / T9 */} -
- - Enthält das Medium fremde geschützte Inhalte (Logos, Grafiken, Fotos Dritter)? * - -
- - -
- {decl.contains_third_party_content === true && ( -
- setField('third_party_rights_confirmed', e.target.checked)} - style={{ marginTop: 3, flexShrink: 0 }} /> -
+
- {error && ( -

{error}

- )} - -
+