Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused Avatar styles #329

Merged
merged 1 commit into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions web/app/components/person/avatar.hbs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div
class="overflow-hidden rounded-full flex justify-center items-center bg-color-palette-alpha-300 bg-color-palette-neutral-200 border border-transparent
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual, non-Prettier change is removing border border-transparent

{{if this.sizeIsSmall 'w-5 h-5'}}
{{if this.sizeIsMedium 'w-7 h-7'}}
class="bg-color-palette-alpha-300 flex items-center justify-center overflow-hidden rounded-full bg-color-palette-neutral-200
{{if this.sizeIsSmall 'h-5 w-5'}}
{{if this.sizeIsMedium 'h-7 w-7'}}
"
...attributes
>
{{#if @imgURL}}
<img src={{@imgURL}} referrerpolicy="no-referrer" class="w-full" />
{{else}}
<div class="text-body-100 flex">
<div class="flex text-body-100">
{{#if @email}}
<span class="capitalize">
{{get-first-letter @email}}
Expand Down