From ba822eaeed1001e03a6f57d6f3702d8979ee93e0 Mon Sep 17 00:00:00 2001 From: Ilya Daynatovich Date: Mon, 29 Aug 2016 16:39:57 +0300 Subject: [PATCH] Fix problem with last video preview --- css/videolayout_default.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/css/videolayout_default.css b/css/videolayout_default.css index aa3943f52..7cc883ba3 100644 --- a/css/videolayout_default.css +++ b/css/videolayout_default.css @@ -8,7 +8,15 @@ } #remoteVideos { - display:block; + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: flex-end; + position:absolute; text-align:right; height:196px; @@ -30,8 +38,6 @@ .videocontainer { position: relative; - margin-left: auto; - margin-right: auto; text-align: center; }