Fix feed sizing issues

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-21 18:14:21 +02:00
parent dc7f6d8286
commit 3fac4adfc7
5 changed files with 53 additions and 46 deletions
-39
View File
@@ -14,45 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_VideoFeed_primary {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
&.mx_VideoFeed_voice {
// We don't want to collide with the call controls that have 52px of height
padding-bottom: 52px;
background-color: $inverted-bg-color;
}
&.mx_VideoFeed_video {
background-color: #000;
}
}
.mx_VideoFeed_secondary {
border-radius: 4px;
width: 100%;
margin-bottom: 12px;
&.mx_VideoFeed_voice {
background-color: $inverted-bg-color;
display: flex;
align-items: center;
justify-content: center;
min-width: 160px;
min-height: 90px;
}
&.mx_VideoFeed_video {
background-color: transparent;
}
}
.mx_VideoFeed_mirror {
transform: scale(-1, 1);
}