misc: change community sidebar to a modal

This commit is contained in:
Xyphyn committed 2023-07-26 18:40:26 -07:00
1 parent cdf10a29ff
commit 327ef007aa
3 files changed
+18 -16

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@
export let size: ButtonSize = 'md'
export let rounded: ButtonRoundness = 'md'
const dispatch = createEventDispatcher()
// const dispatch = createEventDispatcher()
export let href: string | undefined = undefined
</script>
@@ -90,7 +90,7 @@
<button
disabled={loading}
{...$$restProps}
on:click={(e) => dispatch('click', e)}
on:click
class="{`
${buttonColor[color]}
${buttonSize[size]}
+1 -1
View File
@@ -29,7 +29,7 @@
})
</script>
<div class="break-words flex flex-col markdown gap-2">
<div class="break-words flex flex-col markdown gap-2 leading-[22px]">
{@html md.render(source)}
</div>