Browse Source

feat(base/ui/native): centered button label

factor2
Calin-Teodor 3 years ago
parent
commit
179647c93c
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      react/features/base/ui/components/native/buttonStyles.ts

+ 3
- 2
react/features/base/ui/components/native/buttonStyles.ts View File

@@ -4,12 +4,13 @@ const BUTTON_HEIGHT = BaseTheme.spacing[7];
4 4
 
5 5
 const button = {
6 6
     borderRadius: BaseTheme.shape.borderRadius,
7
-    height: BUTTON_HEIGHT
7
+    display: 'flex',
8
+    height: BUTTON_HEIGHT,
9
+    justifyContent: 'center'
8 10
 };
9 11
 
10 12
 const buttonLabel = {
11 13
     ...BaseTheme.typography.bodyShortBold,
12
-    padding: 6,
13 14
     textTransform: 'capitalize'
14 15
 };
15 16
 

Loading…
Cancel
Save