Improve profile search

This commit is contained in:
Jon Staab
2024-09-24 16:30:32 -07:00
parent 605273d7c7
commit cb702976ee
13 changed files with 50 additions and 36 deletions
+3 -2
View File
@@ -9,8 +9,9 @@
</script>
<div
class={cx($$props.class, "!flex items-center justify-center overflow-hidden rounded-full")}
style={`width: ${size * 4}px; height: ${size * 4}px;`}>
class={cx($$props.class, "!flex overflow-hidden rounded-full")}
class:center={!src}
style={`width: ${size * 4}px; height: ${size * 4}px; min-width: ${size * 4}px;`}>
{#if src}
<img {alt} {src} />
{:else}