.tab-section-grid { align-items: stretch; display: flex; flex-wrap: wrap; gap: var(--space-lg); } .tab-section-grid > * { flex: 1 1 var(--width-card-lg); min-width: 0; } .tab-subsection-grid { align-content: stretch; display: flex; flex: 1; flex-wrap: wrap; gap: var(--space-lg); min-height: 0; } .tab-subsection-grid > * { flex: 1 1 var(--width-card-min); min-width: 0; } .tab-subsection-grid > .code-block, .tab-subsection-grid > .diagram-block { contain: size; display: flex; flex-direction: column; margin: 0; max-height: none; min-height: var(--height-code-collapsed); } .tab-subsection-grid > .code-block .code-content, .tab-subsection-grid > .diagram-block .diagram { flex: 1; max-height: none; min-height: 0; } .tab-subsection-grid > .code-block .code-content .panel-stage, .tab-subsection-grid > .code-block .code-content .panel-zoom { width: var(--percent-full); } .tab-subsection-grid > .code-block .code-content code { overflow-wrap: anywhere; white-space: pre-wrap; }