Skip to content

Commit 5b983da

Browse files
authored
PLU-505: Clickable area in nested step smaller than step (#1097)
## Problem Clickable area in nested step smaller than step due to unnecessary difference in padding in nested and non-nested step. ## Solution Make padding the same for both nested and non-nested steps ## Before & After Screenshots **BEFORE**: <img width="1424" height="648" alt="image" src="https://github.com/user-attachments/assets/f5eacf62-879b-4f82-af08-c50542989873" /> **AFTER**: <img width="471" height="310" alt="Screenshot 2025-07-14 at 6 50 32 PM" src="https://github.com/user-attachments/assets/7f102870-57e7-4d3d-9d8b-dc98d907b2e5" /> ## Tests - [ ] Side drawer opens/closes when clicking on both nested and non-nested step - [ ] Step can be renamed - [ ] Step can be deleted
1 parent e9b704b commit 5b983da

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/frontend/src/components/FlowStep/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,7 @@ export default function FlowStep(
224224
h={isNested ? '48px' : '64px'}
225225
w={headerWidth}
226226
>
227-
<Flex
228-
{...flowStepStyles.topHeader}
229-
py={isNested ? 2 : 4}
230-
onClick={handleClick}
231-
>
227+
<Flex {...flowStepStyles.topHeader} onClick={handleClick}>
232228
<StepAppIcon
233229
isCompleted={isCompleted}
234230
isNested={isNested}

packages/frontend/src/components/FlowStep/styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const flowStepStyles = {
3131
alignItems: 'center',
3232
borderRadius: 'inherit',
3333
px: 4,
34+
py: 4,
3435
w: 'full',
3536
_hover: {
3637
bg: 'interaction.muted.neutral.hover',

0 commit comments

Comments
 (0)