@@ -49,6 +49,7 @@ function CheckIndicator({ checked = false }) {
4949 borderStyle = "solid"
5050 borderColor = "neutral.border"
5151 borderRadius = "100%"
52+ marginRight = "2"
5253 padding = "0"
5354 part = "field-radio-value"
5455 position = "relative"
@@ -100,7 +101,7 @@ export function Content({ children }) {
100101 It creates a flex gap at the top of this column, which animates smoothly.
101102 Other forms of whitespace like margin or padding? Not so smooth!
102103 */ }
103- < Box />
104+ < Box part = "checklist-spacer" />
104105
105106 { children }
106107 </ Flex . Column >
@@ -139,7 +140,7 @@ export function Trigger({ isCompleted, isBlocked, title }) {
139140 < Collapsible . Trigger asChild >
140141 < Flex . Row
141142 alignItems = "center"
142- justifyContent = "space-between "
143+ justifyContent = "flex-start "
143144 margin = { - 5 }
144145 padding = { 5 }
145146 zIndex = { 1 }
@@ -149,12 +150,10 @@ export function Trigger({ isCompleted, isBlocked, title }) {
149150 cursor = { isBlocked ? 'not-allowed' : 'pointer' }
150151 part = "collapsible-header"
151152 >
152- < Flex . Row alignItems = "center" gap = { 2 } >
153- < CheckIndicator checked = { isCompleted } />
154- < Text . Body2 fontWeight = "demibold" userSelect = "none" part = "collapsible-title" >
155- { title }
156- </ Text . Body2 >
157- </ Flex . Row >
153+ < CheckIndicator checked = { isCompleted } />
154+ < Text . Body2 fontWeight = "demibold" userSelect = "none" part = "collapsible-title" >
155+ { title }
156+ </ Text . Body2 >
158157
159158 < Box
160159 as = { ChevronDownIcon }
@@ -166,6 +165,7 @@ export function Trigger({ isCompleted, isBlocked, title }) {
166165 } }
167166 display = "block"
168167 height = "16px"
168+ marginLeft = "auto"
169169 order = { 2 }
170170 part = "collapsible-step-icon"
171171 width = "16px"
0 commit comments