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

View File

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