This repository was archived by the owner on Feb 14, 2026. It is now read-only.
Commit 8416183
committed
fix(flex): remove unreachable condition in applyAlignment
Remove unreachable condition that checked if lineWidth < containerWidth
inside a block where availableSpace <= 0 (which means lineWidth >= containerWidth).
Simplify to just return the line without padding when it meets or exceeds width.1 parent 71e698a commit 8416183
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
| 525 | + | |
529 | 526 | | |
530 | 527 | | |
531 | 528 | | |
| |||
0 commit comments