diff options
author | tpart <tpart120@proton.me> | 2024-04-27 10:53:40 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-04-27 10:53:40 +0200 |
commit | 3820dc28fe238751f23b7267171848f5aee88e98 (patch) | |
tree | c5b11b8bb5fc6c9af90a77d90aabc809aa699c9e /client-web/style | |
parent | 1a19d96536c0063d8583dedb47a9836313cbae7d (diff) | |
download | keks-meet-3820dc28fe238751f23b7267171848f5aee88e98.tar keks-meet-3820dc28fe238751f23b7267171848f5aee88e98.tar.bz2 keks-meet-3820dc28fe238751f23b7267171848f5aee88e98.tar.zst |
Make video match size of parent
Diffstat (limited to 'client-web/style')
-rw-r--r-- | client-web/style/room.sass | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/client-web/style/room.sass b/client-web/style/room.sass index e5e8749..9d3502e 100644 --- a/client-web/style/room.sass +++ b/client-web/style/room.sass @@ -20,9 +20,10 @@ margin: 0.5em vertical-align: top min-width: fit-content - display: inline-block position: relative flex: 1 1 + display: flex + flex-direction: column .user .info .name font-weight: 400 @@ -35,12 +36,11 @@ .user .resource display: inline-block - vertical-align: top + flex: 1 1 auto .resource position: relative margin: 0.5em - max-height: 12em .local-controls display: inline @@ -82,9 +82,6 @@ .media-video border-radius: 5px - background-color: black - height: 12em - width: calc(12em * 16 / 9) button.center position: absolute top: 50% @@ -105,4 +102,6 @@ filter: saturate(0%) video - height: 12em + position: absolute + max-width: 100% + max-height: 100%
\ No newline at end of file |