This commit is contained in:
Josh Hawkins 2026-03-19 10:16:18 -05:00
parent 4a48fd7a69
commit 07fe7fa3ae

View File

@ -523,6 +523,7 @@ function RenameStreamDialog({
<div className="space-y-2 py-2"> <div className="space-y-2 py-2">
<Label>{t("go2rtcStreams.newStreamName")}</Label> <Label>{t("go2rtcStreams.newStreamName")}</Label>
<Input <Input
className="text-md"
value={newName} value={newName}
onChange={(e) => setNewName(e.target.value)} onChange={(e) => setNewName(e.target.value)}
onKeyDown={(e) => { onKeyDown={(e) => {
@ -536,7 +537,7 @@ function RenameStreamDialog({
<p className="text-xs text-destructive">{nameError}</p> <p className="text-xs text-destructive">{nameError}</p>
)} )}
</div> </div>
<DialogFooter> <DialogFooter className="gap-2 sm:justify-end md:gap-0">
<DialogClose asChild> <DialogClose asChild>
<Button>{t("button.cancel", { ns: "common" })}</Button> <Button>{t("button.cancel", { ns: "common" })}</Button>
</DialogClose> </DialogClose>
@ -603,6 +604,7 @@ function AddStreamDialog({
<Label>{t("go2rtcStreams.streamName")}</Label> <Label>{t("go2rtcStreams.streamName")}</Label>
<Input <Input
value={name} value={name}
className="text-md"
onChange={(e) => setName(e.target.value)} onChange={(e) => setName(e.target.value)}
onKeyDown={(e) => { onKeyDown={(e) => {
if (e.key === "Enter" && canSubmit) { if (e.key === "Enter" && canSubmit) {
@ -616,7 +618,7 @@ function AddStreamDialog({
<p className="text-xs text-destructive">{nameError}</p> <p className="text-xs text-destructive">{nameError}</p>
)} )}
</div> </div>
<DialogFooter> <DialogFooter className="gap-2 sm:justify-end md:gap-0">
<DialogClose asChild> <DialogClose asChild>
<Button>{t("button.cancel", { ns: "common" })}</Button> <Button>{t("button.cancel", { ns: "common" })}</Button>
</DialogClose> </DialogClose>
@ -831,7 +833,7 @@ function StreamUrlEntry({
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<div className="relative flex-1"> <div className="relative flex-1">
<Input <Input
className="h-8 pr-10" className="text-md h-8 pr-10"
value={baseUrlForDisplay} value={baseUrlForDisplay}
onChange={(e) => handleBaseUrlChange(e.target.value)} onChange={(e) => handleBaseUrlChange(e.target.value)}
onFocus={() => setIsFocused(true)} onFocus={() => setIsFocused(true)}