From 17d96f90b73528c20fb15083e9319fed1a548b8a Mon Sep 17 00:00:00 2001 From: tpart Date: Sat, 27 Apr 2024 11:05:43 +0200 Subject: Center video --- client-web/style/room.sass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client-web/style/room.sass b/client-web/style/room.sass index 9d3502e..90aebb2 100644 --- a/client-web/style/room.sass +++ b/client-web/style/room.sass @@ -19,7 +19,7 @@ padding: 1em margin: 0.5em vertical-align: top - min-width: fit-content + min-width: 15em position: relative flex: 1 1 display: flex @@ -35,6 +35,7 @@ margin-bottom: 1em .user .resource + background: black display: inline-block flex: 1 1 auto @@ -104,4 +105,7 @@ video position: absolute max-width: 100% - max-height: 100% \ No newline at end of file + max-height: 100% + left: 50% + top: 50% + transform: translate(-50%, -50%) \ No newline at end of file -- cgit v1.2.3-70-g09d2