We should attempt to make the deleted user avatar closer to the Text avatar to prevent styling inconsistencies, such as those currently present in the Notifications area, similar to flarum/framework#2905.
Suggested changes
We could use a FontAwesome icon in place of the text. This can be done with pure CSS, too. Woohoo!
Hmm, we should still insert something in there just to give the element a CSS baseline like the normal text-based avatar. I'd assume just a space might work, actually, but I haven't checked.
Bug Report
Current Behavior
When using a helper function, such as
avatar()
, the output should attempt to stay as similar as possible with outputs documented.Currently, we have 3 different possibilities for avatars:
Text avatar
Image avatar
Deleted user avatar
We should attempt to make the deleted user avatar closer to the Text avatar to prevent styling inconsistencies, such as those currently present in the Notifications area, similar to flarum/framework#2905.
Suggested changes
We could use a FontAwesome icon in place of the text. This can be done with pure CSS, too. Woohoo!
user-times![image](https://user-images.githubusercontent.com/7406822/121676640-c26c5f80-caac-11eb-8f1c-4be441692ffd.png)
user-alt-slash![image](https://user-images.githubusercontent.com/7406822/121677056-4aeb0000-caad-11eb-81f5-2b825ac9e263.png)
user-slash![image](https://user-images.githubusercontent.com/7406822/121677097-58a08580-caad-11eb-8829-b6b93fbedd31.png)
trash-alt![image](https://user-images.githubusercontent.com/7406822/121679107-e41b1600-caaf-11eb-9c8e-d50809c22065.png)
Example