chore: bump version to 0.8.96 and enhance legal document features
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / playwright-tests (push) Successful in 59s
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / playwright-tests (push) Successful in 59s
- Updated app version to 0.8.96 with a new build date of 2026-05-12. - Improved legal documents functionality with a live preview feature alongside the editor. - Added modal for full document preview and updated CSS styles for better layout. - Enhanced the AdminLegalDocumentsPage to support rendering previews of legal documents. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
81b9e8f601
commit
98edb282ed
4 files changed
+302
-18
No files matched your search
@@ -368,6 +368,82 @@ ul > li.card + li.card,
|
||||
margin: 0.85em 0;
|
||||
}
|
||||
|
||||
/* Admin: Rechtstext Editor — Live-Vorschau neben Textarea */
|
||||
.legal-section-split {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
@media (min-width: 720px) {
|
||||
.legal-section-split {
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.legal-section-split__editor {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.legal-section-split__preview {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
.legal-section-preview-box {
|
||||
padding: 12px;
|
||||
background: var(--surface2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
min-height: 100px;
|
||||
}
|
||||
.legal-section-preview-box h4 {
|
||||
font-size: 0.95rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 0.45rem;
|
||||
color: var(--text1);
|
||||
}
|
||||
|
||||
/* Modales Vorschau-Overlay (Rechtstexte Admin) */
|
||||
.legal-preview-modal-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 2000;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding: max(16px, env(safe-area-inset-top, 0px)) 16px 24px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.legal-preview-modal {
|
||||
width: 100%;
|
||||
max-width: 760px;
|
||||
margin-top: 4vh;
|
||||
margin-bottom: 4vh;
|
||||
background: var(--surface);
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
|
||||
max-height: min(92vh, 960px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.legal-preview-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.legal-preview-modal__body {
|
||||
padding: 16px 18px 20px;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
|
||||
Reference in new issue
Block a user