feat: Add video preview & player in conversation (#3201)

This commit is contained in:
Sanju
2021-10-25 19:46:37 +05:30
committed by GitHub
parent 98e9fedfa6
commit 74db319a7c
4 changed files with 85 additions and 16 deletions

View File

@@ -17,7 +17,8 @@
}
}
.image {
.image,
.video {
cursor: pointer;
position: relative;
@@ -29,17 +30,32 @@
max-width: 85%;
}
.modal-video {
max-height: 75vh;
max-width: 100%;
}
&::before {
background-image: linear-gradient(-180deg, transparent 3%, $color-heading 130%);
bottom: 0;
content: '';
height: 20%;
left: 0;
opacity: .8;
opacity: 0.8;
position: absolute;
width: 100%;
}
}
.video {
.modal-container {
width: auto;
.modal--close {
z-index: var(--z-index-low);
}
}
}
}
.conversations-list-wrap {