feat(polls) added padding to the buttons container

pull/10224/head
Calin Chitu 4 years ago committed by Calinteodor
parent 92c6324ff3
commit da5603dd9a
  1. 2
      react/features/polls/components/native/PollCreate.js
  2. 4
      react/features/polls/components/native/styles.js

@ -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 }

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

Loading…
Cancel
Save