Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(polls) added padding to the buttons container

Calin Chituda5603dd9a2e
diff --git a/react/features/polls/components/native/PollCreate.js b/react/features/polls/components/native/PollCreate.js
index 3496c5e1c3..6b37ebe3a3 100644
--- a/react/features/polls/components/native/PollCreate.js
+++ b/react/features/polls/components/native/PollCreate.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 }
diff --git a/react/features/polls/components/native/styles.js b/react/features/polls/components/native/styles.js
index 9f1bb30c43..79c9cc3c40 100644
--- a/react/features/polls/components/native/styles.js
+++ b/react/features/polls/components/native/styles.js
@@ -146,6 +146,10 @@ export const chatStyles = createStyleSheet({
flex: 1
},
+ pollCreateButtonsContainer: {
+ paddingVertical: BaseTheme.spacing[2]
+ },
+
pollCreateButton: {
flex: 1,
marginHorizontal: 8