瀏覽代碼

feat(polls) added padding to the buttons container

master
Calin Chitu 3 年之前
父節點
當前提交
da5603dd9a

+ 1
- 1
react/features/polls/components/native/PollCreate.js 查看文件

141
                     keyExtractor = { (item, index) => index.toString() }
141
                     keyExtractor = { (item, index) => index.toString() }
142
                     ref = { answerListRef }
142
                     ref = { answerListRef }
143
                     renderItem = { renderListItem } />
143
                     renderItem = { renderListItem } />
144
-                <View style = { chatStyles.pollCreateButtons }>
144
+                <View style = { chatStyles.pollCreateButtonsContainer }>
145
                     <Button
145
                     <Button
146
                         color = '#3D3D3D'
146
                         color = '#3D3D3D'
147
                         mode = { BUTTON_MODES.CONTAINED }
147
                         mode = { BUTTON_MODES.CONTAINED }

+ 4
- 0
react/features/polls/components/native/styles.js 查看文件

146
         flex: 1
146
         flex: 1
147
     },
147
     },
148
 
148
 
149
+    pollCreateButtonsContainer: {
150
+        paddingVertical: BaseTheme.spacing[2]
151
+    },
152
+
149
     pollCreateButton: {
153
     pollCreateButton: {
150
         flex: 1,
154
         flex: 1,
151
         marginHorizontal: 8
155
         marginHorizontal: 8

Loading…
取消
儲存