Преглед на файлове

feat(polls) added padding to the buttons container

master
Calin Chitu преди 4 години
родител
ревизия
da5603dd9a
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 1
    1
      react/features/polls/components/native/PollCreate.js
  2. 4
    0
      react/features/polls/components/native/styles.js

+ 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

Loading…
Отказ
Запис