Ajustes de medidas en chismosa

This commit is contained in:
Rodrigo 2024-09-17 20:13:34 -03:00
parent d2fde9df83
commit 52bea8f9b6
2 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="column is-one-third full-height">
<div class="column is-one-third">
<div class="fixed-right">
<table v-show="mostrar_tabla" class="table is-striped is-bordered tabla-chismosa">
<table v-show="mostrar_tabla" class="table is-striped is-bordered tabla-chismosa is-narrow">
<thead>
<tr>
<th>Producto</th>
@ -96,7 +96,7 @@
.fixed-right {
position: fixed;
overflow-y: auto;
max-height: 88vh;
max-height: 81vh;
margin-right: 20px;
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<div class="field has-addons">
<div class="field has-addons contador">
<div class="control">
<button class="button is-small" @click.capture="decrementar();">
<i class="fa fa-solid fa-minus"></i>
@ -13,12 +13,12 @@
<i class="fa fa-solid fa-plus"></i>
</button>
</div>
<button :disabled="!hayCambios()" class="button is-small is-success ml-3" @click="confirmar()">
<button :disabled="!hayCambios()" class="button is-small is-success ml-1" @click="confirmar()">
<span class="icon">
<i class="fas fa-check"></i>
</span>
</button>
<button :disabled="!puedeBorrar()" class="button is-small is-danger ml-3" @click="borrar()">
<button :disabled="!puedeBorrar()" class="button is-small is-danger ml-1" @click="borrar()">
<span class="icon">
<i class="fas fa-trash-alt"></i>
</span>
@ -93,4 +93,8 @@
appearance: textfield;
-moz-appearance: textfield;
}
.contador {
min-width: 178px;
}
</style>