Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Shahab4ed2d55caef3
diff --git a/css/_participants-pane.scss b/css/_participants-pane.scss
index 3bc548a4e4..32ca61f7e5 100644
--- a/css/_participants-pane.scss
+++ b/css/_participants-pane.scss
@@ -25,10 +25,6 @@
}
}
-.participant-avatar {
- margin: 8px 16px 8px 0;
-}
-
@media (max-width: 580px) {
.participants_pane {
height: 100vh;
diff --git a/react/features/base/ui/constants.js b/react/features/base/ui/constants.js
index 76f89997e3..9e64d22aed 100644
--- a/react/features/base/ui/constants.js
+++ b/react/features/base/ui/constants.js
@@ -9,6 +9,7 @@ export const commonClassName = {
emptyList: 'empty-list',
overflowMenuItem: 'overflow-menu-item',
overflowMenuItemIcon: 'overflow-menu-item-icon',
+ participantAvatar: 'participant-avatar',
toolboxIcon: 'toolbox-icon',
toolboxButton: 'toolbox-button',
toolboxContentItems: 'toolbox-content-items'
@@ -96,6 +97,9 @@ export const commonStyles = (theme: Object) => {
width: 20
}
},
+ [commonClassName.participantAvatar]: {
+ margin: `${theme.spacing(2)} ${theme.spacing(3)} ${theme.spacing(2)} 0`
+ },
[commonClassName.toolboxIcon]: {
display: 'flex',
borderRadius: 3,