瀏覽代碼

feat(notifications): fix width for notifications on all devices

factor2
Calin-Teodor 2 年之前
父節點
當前提交
581c2e621c
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      react/features/notifications/components/native/styles.js

+ 2
- 1
react/features/notifications/components/native/styles.js 查看文件

@@ -19,7 +19,8 @@ const notification = {
19 19
     height: 'auto',
20 20
     marginBottom: BaseTheme.spacing[3],
21 21
     marginHorizontal: BaseTheme.spacing[2],
22
-    width: 400
22
+    maxWidth: 400,
23
+    width: 'auto'
23 24
 };
24 25
 
25 26
 /**

Loading…
取消
儲存