Add homepage block, reactive controls, i18n, and full-width layout
- Implement ModuleBlockInterface for tree/user homepage embedding with configurable individual and generation settings - Make generation sliders reactive (auto-navigate on change) - Persist generation counts when clicking between persons - Expand chart to full viewport width and remaining height - Add German and Dutch translations for all custom strings - Pass translated labels to JS bio card tooltip via window.fullDiagramI18n - Use webtrees core translation keys where available - Increase default generations to 4, remove show siblings checkbox - Expose Chart class globally for block instantiation
This commit is contained in:
@@ -7,6 +7,20 @@
|
||||
border-radius: 0.5rem;
|
||||
background: #f8f9fa;
|
||||
overflow: hidden;
|
||||
/* Break out of webtrees content column to use full viewport width */
|
||||
width: 100vw;
|
||||
margin-left: calc(-50vw + 50%);
|
||||
border-radius: 0;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/* Block variant: stay within card boundaries */
|
||||
.full-diagram-block {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid #dee2e6;
|
||||
}
|
||||
|
||||
.full-diagram-chart {
|
||||
|
||||
Reference in New Issue
Block a user