We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd83ae commit 1593300Copy full SHA for 1593300
lib/algora_web/components/ui/avatar.ex
@@ -27,7 +27,7 @@ defmodule AlgoraWeb.Components.UI.Avatar do
27
<img
28
id={@id}
29
src={@src || ~p"/images/placeholder-avatar.png"}
30
- class={classes(["aspect-square h-full w-full bg-muted", @class])}
+ class={classes(["aspect-square h-full w-full", @class])}
31
phx-hook="AvatarImage"
32
{@rest}
33
/>
@@ -41,9 +41,7 @@ defmodule AlgoraWeb.Components.UI.Avatar do
41
def avatar_fallback(assigns) do
42
~H"""
43
<span
44
- class={
45
- classes(["flex h-full w-full items-center justify-center rounded-full bg-muted", @class])
46
- }
+ class={classes(["flex h-full w-full items-center justify-center rounded-full", @class])}
47
48
>
49
{render_slot(@inner_block)}
0 commit comments