Disable cart when is empty on SPA
This commit is contained in:
parent
bfd1bc6dcd
commit
463b2569be
@ -1,4 +1,5 @@
|
||||
<a class="esh-basketstatus"
|
||||
[ngClass]="{'is-disabled': badge < 1}"
|
||||
[routerLink]="['basket']">
|
||||
|
||||
<div class="esh-basketstatus-image">
|
||||
|
@ -6,6 +6,11 @@
|
||||
position: relative;
|
||||
transition: all $animation-speed-default;
|
||||
|
||||
&.is-disabled {
|
||||
opacity: .5;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&-image {
|
||||
height: 36px;
|
||||
margin-top: .5rem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user