Commit 195c30de668d86050c063a98d00851c799f1fc36
1 parent
3155fcd2d7
Exists in
develop
promos entran en una linea
Showing
2 changed files
with
8 additions
and
8 deletions
Show diff stats
src/app/modules/admin/admin.component.ts
... | ... | @@ -15,16 +15,16 @@ export class AdminComponent implements OnInit { |
15 | 15 | ) { } |
16 | 16 | |
17 | 17 | ngOnInit() { |
18 | - // this.startTimeOutInactividad(); | |
18 | + this.startTimeOutInactividad(); | |
19 | 19 | } |
20 | 20 | |
21 | 21 | @HostListener('document:click', ['$event']) |
22 | 22 | |
23 | - // documentClick(event: MouseEvent) { | |
24 | - // if (event) { | |
25 | - // this.restartTimer(); | |
26 | - // } | |
27 | - // } | |
23 | + documentClick(event: MouseEvent) { | |
24 | + if (event) { | |
25 | + this.restartTimer(); | |
26 | + } | |
27 | + } | |
28 | 28 | |
29 | 29 | restartTimer() { |
30 | 30 | clearTimeout(this.timerReposo); |
src/app/shared/promocion/promocion.component.html
... | ... | @@ -32,8 +32,8 @@ |
32 | 32 | <div *ngFor="let promo of promociones"> |
33 | 33 | <div class="mx-0 mb-2 bg-white badge-pill text-primary" (click)="elegirPromo(promo)"> |
34 | 34 | <div class="row mx-0 justify-content-between"> |
35 | - <p class="ml-4 text-truncate">{{promo.DetArt}}</p> | |
36 | - <p class="mr-4 font-weight-bold">{{promo.PreVen | currency}}</p> | |
35 | + <p class="text-truncate"><small>{{promo.DetArt}}</small></p> | |
36 | + <p class="font-weight-bold">{{promo.PreVen | currency}}</p> | |
37 | 37 | </div> |
38 | 38 | </div> |
39 | 39 | </div> |