浏览代码

refactor(participnats-pane) move participant-avatar to commmonStyles (#11120)

master
Shahab 3 年前
父节点
当前提交
4ed2d55cae
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 0
    4
      css/_participants-pane.scss
  2. 4
    0
      react/features/base/ui/constants.js

+ 0
- 4
css/_participants-pane.scss 查看文件

@@ -25,10 +25,6 @@
25 25
     }
26 26
 }
27 27
 
28
-.participant-avatar {
29
-    margin: 8px 16px 8px 0;
30
-}
31
-
32 28
 @media (max-width: 580px) {
33 29
     .participants_pane {
34 30
         height: 100vh;

+ 4
- 0
react/features/base/ui/constants.js 查看文件

@@ -9,6 +9,7 @@ export const commonClassName = {
9 9
     emptyList: 'empty-list',
10 10
     overflowMenuItem: 'overflow-menu-item',
11 11
     overflowMenuItemIcon: 'overflow-menu-item-icon',
12
+    participantAvatar: 'participant-avatar',
12 13
     toolboxIcon: 'toolbox-icon',
13 14
     toolboxButton: 'toolbox-button',
14 15
     toolboxContentItems: 'toolbox-content-items'
@@ -96,6 +97,9 @@ export const commonStyles = (theme: Object) => {
96 97
                 width: 20
97 98
             }
98 99
         },
100
+        [commonClassName.participantAvatar]: {
101
+            margin: `${theme.spacing(2)} ${theme.spacing(3)} ${theme.spacing(2)} 0`
102
+        },
99 103
         [commonClassName.toolboxIcon]: {
100 104
             display: 'flex',
101 105
             borderRadius: 3,

正在加载...
取消
保存