:host { display: flex; align-items: center; max-width: 1.25rem; } ::ng-deep img { max-width: 100%; max-height: 100%; } ::ng-deep svg { width: 100%; height: 100%; }