Skip to content

Commit

Permalink
feat: remove pointer-events from Avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
colbr committed Aug 26, 2024
1 parent 51b132b commit 9fee9ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export const CreatePost = ({ avatarUrl, isSubmitting, onSubmit }: CreatePostProp

return (
<div className={styles.Container}>
<Avatar imageURL={avatarUrl} size={'regular'} />
<div className={styles.Avatar}>
<Avatar imageURL={avatarUrl} size={'regular'} />
</div>
<div className={styles.Create}>
<PostInput value={value} onChange={handleOnChange} onKeyDown={handleKeyDown} />
<hr />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@
.Button {
border-radius: 8px;
}

.Avatar {
pointer-events: none;
}

0 comments on commit 9fee9ee

Please sign in to comment.