From 8e9e21c93bf4cbacfb1b06bb3e7b1902eb901fa7 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Wed, 9 Aug 2023 05:26:34 -0400 Subject: [PATCH] unwrap camera stream view on medium sized screens on camera view --- .../src/components/cameras/CamerasView.vue | 50 ++++++++++++++----- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/photon-client/src/components/cameras/CamerasView.vue b/photon-client/src/components/cameras/CamerasView.vue index 3823813ae2..6d93f1ee9a 100644 --- a/photon-client/src/components/cameras/CamerasView.vue +++ b/photon-client/src/components/cameras/CamerasView.vue @@ -82,19 +82,22 @@ const fpsTooLow = computed(() => {
- - +
+ +
+
+ +
@@ -143,4 +146,27 @@ th { width: 80px; text-align: center; } + +.stream-container { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 12px; +} + +.stream { + display: flex; + justify-content: center; + width: 100%; +} + +@media only screen and (min-width: 512px) and (max-width: 960px) { + .stream-container { + flex-wrap: nowrap; + } + + .stream { + width: 50%; + } +}