Add remove group, format

This commit is contained in:
Jon Staab
2024-08-16 10:50:38 -07:00
parent 437cfa7bc4
commit bd8fcd3264
51 changed files with 800 additions and 435 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import cx from 'classnames'
import cx from "classnames"
import Icon from "@lib/components/Icon.svelte"
export let src
@@ -7,11 +7,11 @@
</script>
<div
class={cx($$props.class, "!flex items-center justify-center rounded-full overflow-hidden")}
class={cx($$props.class, "!flex items-center justify-center overflow-hidden rounded-full")}
style={`width: ${size * 4}px; height: ${size * 4}px;`}>
{#if src}
<img alt="" {src} />
{:else}
<Icon icon="user-rounded" size={Math.round(size * .7)} />
<Icon icon="user-rounded" size={Math.round(size * 0.7)} />
{/if}
</div>