1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Fix the look of video feeds

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-04-27 12:03:01 +02:00
parent f3a7ffca60
commit dacb161a64

View File

@@ -22,31 +22,28 @@ limitations under the License.
.mx_VideoFeed_remote { .mx_VideoFeed_remote {
flex: 1; width: 100%;
height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.mx_VideoFeed_video { &.mx_VideoFeed_video {
background-color: #000; background-color: #000;
width: 100%;
height: 100%;
} }
} }
.mx_VideoFeed_local { .mx_VideoFeed_local {
width: 25%; max-width: 25%;
height: 25%; max-height: 25%;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 10px; top: 10px;
z-index: 100; z-index: 100;
border-radius: 4px; border-radius: 4px;
.mx_VideoFeed_video { &.mx_VideoFeed_video {
background-color: transparent; background-color: transparent;
width: 100%;
height: 100%;
} }
} }