fix server discovery modal
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user