diff --git a/src/screens/SSICredentialDetailsScreen/index.tsx b/src/screens/SSICredentialDetailsScreen/index.tsx index 5b29851e..a47e8358 100644 --- a/src/screens/SSICredentialDetailsScreen/index.tsx +++ b/src/screens/SSICredentialDetailsScreen/index.tsx @@ -109,8 +109,8 @@ const SSICredentialDetailsScreen: FC = (props: Props): JSX.Element => { // TODO move styling to styled components (currently there is an issue where this styling prop is not being set correctly) style={{ height: 42, - minWidth: 160.5, - ...(primaryAction && {width: '100%'}), + minWidth: 160, + ...(!primaryAction && {width: '100%'}), }} /> )} @@ -121,8 +121,8 @@ const SSICredentialDetailsScreen: FC = (props: Props): JSX.Element => { // TODO move styling to styled components (currently there is an issue where this styling prop is not being set correctly) style={{ height: 42, - minWidth: 160.5, - ...(secondaryAction && {width: '100%'}), + minWidth: 160, + ...(!secondaryAction && {width: '100%'}), }} /> )} diff --git a/src/styles/components/screens/SSICredentialDetailsScreen/index.ts b/src/styles/components/screens/SSICredentialDetailsScreen/index.ts index 01d68cca..d8b88247 100644 --- a/src/styles/components/screens/SSICredentialDetailsScreen/index.ts +++ b/src/styles/components/screens/SSICredentialDetailsScreen/index.ts @@ -23,5 +23,4 @@ export const SSICredentialDetailsScreenButtonContainer = styled.View` export const SSICredentialDetailsScreenButtonContentContainer = styled(SSIFlexDirectionRowViewStyled)` margin: auto auto; justify-content: space-between; - padding: 0 24px; `;