fix: new stream adjustments

This commit is contained in:
Alejandro Gomez
2023-06-28 08:54:11 +02:00
parent e9d3a7d05e
commit 9f8c14c568
2 changed files with 15 additions and 3 deletions

View File

@ -178,7 +178,7 @@ interface NewStreamDialogProps {
}
export function NewStreamDialog({
text = "New Stream",
text,
ev,
onFinish,
btnClassName = "btn",
@ -187,8 +187,13 @@ export function NewStreamDialog({
<Dialog.Root>
<Dialog.Trigger asChild>
<button type="button" className={btnClassName}>
<span className="hide-on-mobile">{text}</span>
{text && text}
{!text && (
<>
<span className="hide-on-mobile">New Stream</span>
<Icon name="signal" />
</>
)}
</button>
</Dialog.Trigger>
<Dialog.Portal>

View File

@ -59,8 +59,15 @@
@media (min-width: 2000px) {
.page {
padding: 0 40px;
grid-template-columns: auto 450px;
}
.video-content {
max-height: calc(100vh - 320px);
}
.video-content video {
height: 100%;
}
}
header {