fix: new stream adjustments
This commit is contained in:
@ -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>
|
||||||
|
@ -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 {
|
||||||
|
Reference in New Issue
Block a user