fix server discovery modal

This commit is contained in:
2026-04-21 03:09:59 -04:00
parent 1a289618a9
commit 87a51c6628
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
);
</script>
<Modal onClose={() => (chat.showDiscoveryModal = false)} maxWidth="500px">
<Modal onClose={() => (chat.showDiscoveryModal = false)}>
<ModalLayout title="Discover Servers" onClose={() => (chat.showDiscoveryModal = false)}>
<div class="discovery-content">
<Input
+1 -3
View File
@@ -4,19 +4,17 @@
onClose,
children,
footer,
maxWidth = "440px",
class: className = ""
}: {
title?: string,
onClose?: () => void,
children: any,
footer?: any,
maxWidth?: string,
class?: string
} = $props();
</script>
<div class="modal-layout {className}" style="max-width: {maxWidth};">
<div class="modal-layout {className}">
{#if title || onClose}
<div class="modal-header">
{#if title}