Actions
Bug #70220
closedRemove default background if avatar image is assigned
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2015-09-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If a transparent avatar image is assigned the default avatar shines through (see example image).
This might be fixed by just using an <img>-Tag for including the default avatar SVG and removing the CSS background and :after pseudo element. If a custom avatar is uploaded its path is assigned to the src attribute, otherwise the SVG default one is.
Another solution would be to add a CSS class modifier if a custom avatar is assigned and then just override the needed CSS rules.
Files
Actions