Commit 8a8ef53
authored
fix misaligned divider in nested steps (#1246)
## Problem
The divider between condition step and child steps are misaligned when
in 'Published' state.
## Solution
Missing condition check to get the width.
## Before & After Screenshots
**BEFORE**:
<img width="1512" height="806" alt="Screenshot 2025-10-06 at 10 40
37 PM"
src="https://github.com/user-attachments/assets/d5f0a420-2e41-479e-ba13-76e629b9e2db"
/>
**AFTER**:
<img width="1508" height="807" alt="Screenshot 2025-10-06 at 10 41
12 PM"
src="https://github.com/user-attachments/assets/d6698007-6f55-4860-b537-46d4ee89007f"
/>
## Tests
- [ ] Divider is aligned across all nested steps in `Published` and
`Unpublished` states
- [ ] Divider is aligned across all steps in `Published` and
`Unpublished` states1 parent 263ca75 commit 8a8ef53
File tree
1 file changed
+3
-1
lines changed- packages/frontend/src/components/FlowStepGroup/Content/IfThen
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments