Symptom

The “Load Preview” button in the Diagram node editor was approximately 26% of screen width, left-aligned, while the peer section-level CTA (“Add Input Node”) in other editor screens (filter, trigger) spans the full width as a full-width pill.

Root cause

The Button composable in EditDiagramContent had no modifier set, so it defaulted to wrap-content sizing. Every other standalone section-action button in the krill editor family uses Modifier.fillMaxWidth().height(CommonLayout.BUTTON_HEIGHT_STANDARD).

Fix

Added modifier = Modifier.fillMaxWidth().height(CommonLayout.BUTTON_HEIGHT_STANDARD) to the “Load Preview” Button in DiagramScreen.kt (line ~664). One-line change; no production logic affected.

Prevention

When adding a standalone section-action button in an editor screen, always apply Modifier.fillMaxWidth().height(CommonLayout.BUTTON_HEIGHT_STANDARD) to match the established krill pill convention. Inline buttons paired with text fields (e.g., the Upload SVG button next to the URL field) are a separate pattern and intentionally use wrap-content sizing.