Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(avatar): use text instead of foreign object.
Hristo Terezov9bdaea406959
diff --git a/css/_avatar.scss b/css/_avatar.scssindex 347d4bd183..9c0d88bddc 100644--- a/css/_avatar.scss+++ b/css/_avatar.scss@@ -20,18 +20,6 @@}}-.avatar-foreign {- align-items: center;- bottom: 0;- display: flex;- font-size: 40pt;- justify-content: center;- left: 0;- position: absolute;- right: 0;- top: 0;-}-.avatar-svg {height: 100%;width: 100%;@@ -63,4 +51,4 @@@include avatarBadge;background-color: $presence-idle;}-}\ No newline at end of file+}diff --git a/react/features/base/avatar/components/web/StatelessAvatar.js b/react/features/base/avatar/components/web/StatelessAvatar.jsindex 619046e97a..e1ed31bfb0 100644--- a/react/features/base/avatar/components/web/StatelessAvatar.js+++ b/react/features/base/avatar/components/web/StatelessAvatar.js@@ -79,14 +79,15 @@ export default class StatelessAvatar extends AbstractStatelessAvatar<Props> {viewBox = '0 0 100 100'xmlns = 'http://www.w3.org/2000/svg'xmlnsXlink = 'http://www.w3.org/1999/xlink'>- <foreignObject- height = '100%'- width = '100%'>- <span- className = 'avatar-foreign'>- { initials }- </span>- </foreignObject>+ <text+ dominantBaseline = 'central'+ fill = 'rgba(255,255,255,.6)'+ fontSize = '40pt'+ textAnchor = 'middle'+ x = '50'+ y = '50'>+ { initials }+ </text></svg></div>);