From 8b11f29a5e83a8bd6d9111e7b2d871eaab5536eb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 27 Apr 2024 20:22:56 +0200 Subject: prototype stream previews --- client-web/style/room.sass | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'client-web/style/room.sass') diff --git a/client-web/style/room.sass b/client-web/style/room.sass index 5c41171..8a72bf8 100644 --- a/client-web/style/room.sass +++ b/client-web/style/room.sass @@ -102,10 +102,16 @@ .media-freeze filter: saturate(0%) -video + +video, .preview position: absolute - max-width: 100% - max-height: 100% left: 50% top: 50% - transform: translate(-50%, -50%) \ No newline at end of file + transform: translate(-50%, -50%) + +video + max-width: 100% + max-height: 100% +.preview + width: 100% + height: 100% -- cgit v1.2.3-70-g09d2