aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-04-27 10:53:40 +0200
committertpart <tpart120@proton.me>2024-04-27 10:53:40 +0200
commit3820dc28fe238751f23b7267171848f5aee88e98 (patch)
treec5b11b8bb5fc6c9af90a77d90aabc809aa699c9e
parent1a19d96536c0063d8583dedb47a9836313cbae7d (diff)
downloadkeks-meet-3820dc28fe238751f23b7267171848f5aee88e98.tar
keks-meet-3820dc28fe238751f23b7267171848f5aee88e98.tar.bz2
keks-meet-3820dc28fe238751f23b7267171848f5aee88e98.tar.zst
Make video match size of parent
-rw-r--r--client-web/style/room.sass13
-rw-r--r--config/default.toml2
2 files changed, 7 insertions, 8 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
diff --git a/config/default.toml b/config/default.toml
index c23fdc2..c056d82 100644
--- a/config/default.toml
+++ b/config/default.toml
@@ -8,7 +8,7 @@ room_watches = true
accent = "#5e3f84"
accent_dark = "#2d0d52"
accent_light = "#7c43bd"
-background = "#151315"
+background = "#252125"
background_dark = "#070707"
background_light = "#211c21"