Skip to content

Commit 9feefd7

Browse files
committed
fix: code format
1 parent 7f2057e commit 9feefd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/atomic_web/components/avatar.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule AtomicWeb.Components.Avatar do
1616
doc: "The type of entity associated with the avatar."
1717

1818
attr :size, :atom,
19-
values: [:xs, :sm, :md, :lg, :xl,:xl],
19+
values: [:xs, :sm, :md, :lg, :xl, :xl],
2020
default: :md,
2121
doc: "The size of the avatar."
2222

@@ -44,7 +44,7 @@ defmodule AtomicWeb.Components.Avatar do
4444
~H"""
4545
<span class={generate_avatar_classes(assigns)}>
4646
<%= if @src do %>
47-
<img src={@src} class={"atomic-avatar--#{assigns.type} object-contain h-full w-full"} />
47+
<img src={@src} class={"atomic-avatar--#{assigns.type} h-full w-full object-contain"} />
4848
<% else %>
4949
<%= if @auto_generate_initials do %>
5050
<%= extract_initials(@name) %>

0 commit comments

Comments
 (0)