Commit 416f7e8bb5a85ce742bcb512dfe0dd387531f116
1 parent
bb0d82df61
Exists in
master
and in
1 other branch
Arreglo en vista de botones de producto en el carrito.
Showing
1 changed file
with
21 additions
and
15 deletions
Show diff stats
src/app/components/sidebar/sidebar.component.html
| 1 | 1 | <div class="disable-user-select d-flex align-items-center flex-column h-100 pt-2 text-center"> |
| 2 | 2 | |
| 3 | + <!-- ENCABEZADO --> | |
| 3 | 4 | <p class="h4 border-bottom border-white text-white mt-4 pb-2"> |
| 4 | 5 | Mi compra |
| 5 | 6 | <i class="fa fa-shopping-cart" aria-hidden="true"></i> |
| ... | ... | @@ -20,8 +21,11 @@ |
| 20 | 21 | <p class="m-0">{{producto.PreVen | currency}}</p> |
| 21 | 22 | </div> |
| 22 | 23 | </div> |
| 23 | - <div class="row m-0 p-0"> | |
| 24 | - <div class="col-6 px-2 my-2"> | |
| 24 | + | |
| 25 | + <!-- BOTONES --> | |
| 26 | + <div class="row m-0 d-flex justify-content-between"> | |
| 27 | + <!-- SUMAR - RESTAR CANTIDAD --> | |
| 28 | + <div class="col-auto px-1 my-2"> | |
| 25 | 29 | <div class="btn-group-sm btn-group float-left my-auto" role="group"> |
| 26 | 30 | <button type="button" class="btn btn-light btn-sm my-auto border" (click)="aumentarContador(i)"> |
| 27 | 31 | <i class="fa fa-plus" aria-hidden="true"></i> |
| ... | ... | @@ -34,19 +38,21 @@ |
| 34 | 38 | </button> |
| 35 | 39 | </div> |
| 36 | 40 | </div> |
| 37 | - <div class="col-6 px-2 my-2"> | |
| 38 | - <div class="btn-group-sm btn-group float-right my-auto" role="group"> | |
| 39 | - <button | |
| 40 | - *ngIf="esPersonalizable(producto)" | |
| 41 | - type="button" | |
| 42 | - class="btn btn-light btn-sm my-auto float-left border mr-2" | |
| 43 | - (click)="personalizarPromo"> | |
| 44 | - <i class="fa fa-hand-o-up" aria-hidden="true"></i> | |
| 45 | - </button> | |
| 46 | - <button type="button" class="btn btn-secondary btn-sm my-auto ml-2" (click)="deleteProducto(i)"> | |
| 47 | - <i class="fa fa-times" aria-hidden="true"></i> | |
| 48 | - </button> | |
| 49 | - </div> | |
| 41 | + <!-- PERSONALIZAR --> | |
| 42 | + <div class="col-auto px-1 my-2"> | |
| 43 | + <button | |
| 44 | + *ngIf="esPersonalizable(producto)" | |
| 45 | + type="button" | |
| 46 | + class="btn btn-light btn-sm my-auto float-left border" | |
| 47 | + (click)="personalizarPromo"> | |
| 48 | + <i class="fa fa-hand-o-up" aria-hidden="true"></i> | |
| 49 | + </button> | |
| 50 | + </div> | |
| 51 | + <!-- BORRAR --> | |
| 52 | + <div class="col-auto px-1 my-2"> | |
| 53 | + <button type="button" class="btn btn-secondary btn-sm my-auto" (click)="deleteProducto(i)"> | |
| 54 | + <i class="fa fa-times" aria-hidden="true"></i> | |
| 55 | + </button> | |
| 50 | 56 | </div> |
| 51 | 57 | </div> |
| 52 | 58 | </div> |