feat(polls) added padding to the buttons container

This commit is contained in:
Calin Chitu 2021-10-21 13:32:51 +03:00 committed by Calinteodor
parent 92c6324ff3
commit da5603dd9a
2 changed files with 5 additions and 1 deletions

View File

@ -141,7 +141,7 @@ const PollCreate = (props: AbstractProps) => {
keyExtractor = { (item, index) => index.toString() }
ref = { answerListRef }
renderItem = { renderListItem } />
<View style = { chatStyles.pollCreateButtons }>
<View style = { chatStyles.pollCreateButtonsContainer }>
<Button
color = '#3D3D3D'
mode = { BUTTON_MODES.CONTAINED }

View File

@ -146,6 +146,10 @@ export const chatStyles = createStyleSheet({
flex: 1
},
pollCreateButtonsContainer: {
paddingVertical: BaseTheme.spacing[2]
},
pollCreateButton: {
flex: 1,
marginHorizontal: 8