Skip to content

Commit

Permalink
button label cutoff
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankakmEaton committed May 10, 2024
1 parent 67ed094 commit ffc184a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ const makeStyles = (
},
previousButton: {
alignSelf: 'flex-start',
minWidth: '32%',
},
nextButton: {
alignSelf: 'flex-end',
minWidth: '32%',
},
});

Expand Down Expand Up @@ -62,7 +60,7 @@ export const WorkflowCardActions: React.FC<WorkflowCardActionsProps> = (props) =
root: [
{
flex: 0,
justifyContent: !showStepperDots ? 'space-between' : 'center',
justifyContent: 'space-between',
paddingHorizontal: isTablet ? 8 : 0,
paddingVertical: isTablet ? 8 : 0,
},
Expand All @@ -85,6 +83,7 @@ export const WorkflowCardActions: React.FC<WorkflowCardActionsProps> = (props) =
testID={'blui-workflow-card-actions-previous-button'}
style={[defaultStyles.previousButton, defaultStyles.button]}
onPress={onPrevious}
labelStyle={{ marginHorizontal: 10 }}
>
{previousLabel}
</Button>
Expand All @@ -100,6 +99,7 @@ export const WorkflowCardActions: React.FC<WorkflowCardActionsProps> = (props) =
onPress={onNext}
testID={'blui-workflow-card-actions-next-button'}
style={[defaultStyles.nextButton, defaultStyles.button]}
labelStyle={{ marginHorizontal: 10 }}
>
{nextLabel}
</Button>
Expand Down

0 comments on commit ffc184a

Please sign in to comment.