Removing too wide border in videos

This commit is contained in:
David Négrier
2022-01-11 13:52:38 +01:00
committed by Alexis Faizeau
parent 4436db0d3d
commit 873c335054
3 changed files with 31 additions and 19 deletions
@@ -83,6 +83,7 @@
</button>
<!-- svelte-ignore a11y-media-has-caption -->
<video
class:no-video={!$constraintStore || $constraintStore.video === false}
use:srcObject={$streamStore}
autoplay
playsinline
@@ -115,4 +116,7 @@
margin-right: 3px;
}
}
video.no-video {
visibility: collapse;
}
</style>