diff --git a/src/app/components/VideoCallContent.svelte b/src/app/components/VideoCallContent.svelte index ce65a7ed..6bd00ebf 100644 --- a/src/app/components/VideoCallContent.svelte +++ b/src/app/components/VideoCallContent.svelte @@ -144,6 +144,9 @@ const useSpotlightLayout = $derived(primaryTile !== undefined) const useMultiGrid = $derived(!useSpotlightLayout && videoTiles.length > 2) + const multiGridClass = $derived( + layout === VideoCallLayout.Split ? "grid-cols-1" : "grid-cols-1 sm:grid-cols-2", + ) $effect(() => { const k = $videoPrimaryTileKey @@ -238,8 +241,7 @@ {/if} {:else if useMultiGrid} -
+
{#each videoTiles as tile (tileKey(tile))} {@render videoTile(tile, "default")} {/each}