浏览代码

feat(polls) added padding to the buttons container

master
Calin Chitu 3 年前
父节点
当前提交
da5603dd9a

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

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

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

@@ -146,6 +146,10 @@ export const chatStyles = createStyleSheet({
146 146
         flex: 1
147 147
     },
148 148
 
149
+    pollCreateButtonsContainer: {
150
+        paddingVertical: BaseTheme.spacing[2]
151
+    },
152
+
149 153
     pollCreateButton: {
150 154
         flex: 1,
151 155
         marginHorizontal: 8

正在加载...
取消
保存