Pārlūkot izejas kodu

fix(video-thumbnail) Fixed name for remote participants

Display name on thumbnail for remote participants as well
Updated style
master
robertpin 3 gadus atpakaļ
vecāks
revīzija
0715f85796

+ 7
- 0
css/_videolayout_default.scss Parādīt failu

190
         z-index: $zindex2;
190
         z-index: $zindex2;
191
     }
191
     }
192
 
192
 
193
+    &__participant-name {
194
+        color: #fff;
195
+        background-color: rgba(0,0,0,.4);
196
+        padding: 3px 7px;
197
+        border-radius: 3px;
198
+    }
199
+
193
     @media (min-width: 581px) {
200
     @media (min-width: 581px) {
194
         &.shift-right {
201
         &.shift-right {
195
             &#largeVideoContainer {
202
             &#largeVideoContainer {

+ 2
- 1
react/features/filmstrip/components/web/Thumbnail.js Parādīt failu

812
                 </span>
812
                 </span>
813
                 <div className = 'videocontainer__toolbar'>
813
                 <div className = 'videocontainer__toolbar'>
814
                     <StatusIndicators participantID = { id } />
814
                     <StatusIndicators participantID = { id } />
815
-                    <div>{ _participant.name }</div>
815
+                    <span className = 'videocontainer__participant-name'>{_participant.name}</span>
816
                 </div>
816
                 </div>
817
                 <div className = 'videocontainer__toptoolbar'>
817
                 <div className = 'videocontainer__toptoolbar'>
818
                     { this._renderTopIndicators() }
818
                     { this._renderTopIndicators() }
960
                 </div>
960
                 </div>
961
                 <div className = 'videocontainer__toolbar'>
961
                 <div className = 'videocontainer__toolbar'>
962
                     <StatusIndicators participantID = { id } />
962
                     <StatusIndicators participantID = { id } />
963
+                    <span className = 'videocontainer__participant-name'>{_participant.name}</span>
963
                 </div>
964
                 </div>
964
                 <div className = 'videocontainer__hoverOverlay' />
965
                 <div className = 'videocontainer__hoverOverlay' />
965
                 <div className = 'displayNameContainer'>
966
                 <div className = 'displayNameContainer'>

Notiek ielāde…
Atcelt
Saglabāt