Add fullscreen button and remove initial pan animation
Add a fullscreen toggle to the zoom controls using inline Lucide SVG icons (Maximize/X). Remove the 500ms transition on initial center so the chart starts focused on the root person immediately.
This commit is contained in:
@@ -265,6 +265,16 @@
|
||||
background: #e9ecef;
|
||||
}
|
||||
|
||||
/* ── Fullscreen ── */
|
||||
.full-diagram-container:fullscreen {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
/* ── Print styles ── */
|
||||
@media print {
|
||||
.full-diagram-container {
|
||||
|
||||
Reference in New Issue
Block a user