fix(header): ripple effect

This commit is contained in:
Evgeny Lupanov 2020-03-25 20:56:54 +03:00 committed by Sergey Andrievskiy
parent 0ef524ca9b
commit 05cb3b3ffd

View file

@ -49,7 +49,10 @@
470.000 470.000
</span> </span>
</nb-action> </nb-action>
<nb-action class="control-item contact-us"> <nb-action class="control-item contact-us"
matRipple
[matRippleUnbounded]="false"
[matRippleCentered]="true">
<a nbButton ghost href="mailto:contact@akveo.com" (click)="trackEmailClick()"> <a nbButton ghost href="mailto:contact@akveo.com" (click)="trackEmailClick()">
<nb-icon icon="email-outline" pack="eva"></nb-icon> <nb-icon icon="email-outline" pack="eva"></nb-icon>
<span [class.text-control]="materialTheme$ | async"> <span [class.text-control]="materialTheme$ | async">
@ -83,7 +86,7 @@
class="user-action" class="user-action"
*nbIsGranted="['view', 'user']" *nbIsGranted="['view', 'user']"
matRipple matRipple
[matRippleUnbounded]="true" [matRippleUnbounded]="false"
[matRippleCentered]="true"> [matRippleCentered]="true">
<nb-user [nbContextMenu]="userMenu" <nb-user [nbContextMenu]="userMenu"
[onlyPicture]="userPictureOnly" [onlyPicture]="userPictureOnly"