fix: profile icon css

This commit is contained in:
Shusui MOYATANI
2024-01-04 17:46:49 +09:00
parent 541d036824
commit 8b3caffa9e
4 changed files with 7 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ const Post: Component<PostProps> = (props) => {
<div class="flex w-full gap-1">
<button
type="button"
class="author-icon h-10 w-10 shrink-0 overflow-hidden"
class="author-icon h-10 w-10 shrink-0 overflow-hidden rounded"
onClick={(ev) => {
ev.preventDefault();
props.onShowProfile?.();
@@ -44,7 +44,7 @@ const Post: Component<PostProps> = (props) => {
<Show when={author()?.picture} keyed>
{(url) => (
<LazyLoad>
{() => <img src={url} alt="icon" class="h-full w-full rounded object-cover" />}
{() => <img src={url} alt="icon" class="h-full w-full object-cover" />}
</LazyLoad>
)}
</Show>