Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-09-16 20:57:47 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-09-26 11:45:01 +0300
commitca62f9d7ed9328228a599f550218a24252d1de0f (patch)
tree2fb0d451d9b7d47530b9742237d0610836f439d2 /css
parent6bb86a4d6b5a1fd492226450f7431d611d8adf2a (diff)
Fix avatar container height during calls
The absolute position causes the avatar container to have a different height when the contained div has a text (guest avatars) or not (user avatars, which use an image); now the flex property is propagated, which causes the container to always have the same size as the contained div. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css')
-rw-r--r--css/video.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/css/video.scss b/css/video.scss
index fa3bab9f8..bd06645b9 100644
--- a/css/video.scss
+++ b/css/video.scss
@@ -85,11 +85,11 @@ video {
}
.videoContainer .avatar-container {
- position: absolute;
- text-align: center;
- bottom: 44px;
- left: 0;
- width: 100%;
+ display: flex;
+ margin-bottom: 50px;
+}
+.videoContainer .avatar-container.hidden {
+ display: none;
}
.videoContainer .avatar-container .avatar {
display: inline-block;