hotFix(travel_extraCommunity): fix css
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2022-10-07 14:35:16 +02:00
parent 6c5acc75eb
commit 00d5876f88
2 changed files with 21 additions and 17 deletions

View File

@ -42,10 +42,10 @@
<th field="id" shrink> <th field="id" shrink>
<span translate>Id</span> <span translate>Id</span>
</th> </th>
<th field="cargoSupplierFk" expand> <th field="cargoSupplierFk">
<span translate>Supplier</span> <span translate>Supplier</span>
</th> </th>
<th field="agencyModeFk" expand> <th field="agencyModeFk">
<span translate>Agency</span> <span translate>Agency</span>
</th> </th>
<th field="ref"> <th field="ref">
@ -100,7 +100,7 @@
{{::travel.id}} {{::travel.id}}
</span> </span>
</td> </td>
<td expand vn-click-stop> <td vn-click-stop>
<span <span
class="link" class="link"
ng-click="supplierDescriptor.show($event, travel.cargoSupplierFk)"> ng-click="supplierDescriptor.show($event, travel.cargoSupplierFk)">
@ -110,22 +110,23 @@
<td expand>{{::travel.agencyModeName}}</td> <td expand>{{::travel.agencyModeName}}</td>
<td <td
name="reference" name="reference"
expand class="td-editable"
vn-click-stop> vn-click-stop>
<vn-textfield <vn-textfield
class="dense td-editable" class="dense td-editable"
ng-model="travel.ref" ng-model="travel.ref"
on-change="$ctrl.save(travel.id, {ref: value})"> on-change="$ctrl.save(travel.id, {ref: value})">
</vn-textfield> </vn-textfield>
</vn-icon>
</td> </td>
<td number>{{::travel.stickers}}</td> <td number>{{::travel.stickers}}</td>
<td <td
name="lockedKg" name="lockedKg"
expand class="number"
shrink
vn-click-stop> vn-click-stop>
<vn-input-number <vn-input-number
number number
shrink
class="td-editable number" class="td-editable number"
ng-model="travel.kg" ng-model="travel.kg"
on-change="$ctrl.save(travel.id, {kg: value})" on-change="$ctrl.save(travel.id, {kg: value})"
@ -158,7 +159,7 @@
</span> </span>
</td> </td>
<td></td> <td></td>
<td expand>{{::entry.ref}}</td> <td class="td-editable">{{::entry.ref}}</td>
<td number>{{::entry.stickers}}</td> <td number>{{::entry.stickers}}</td>
<td number></td> <td number></td>
<td number>{{::entry.loadedkg}}</td> <td number>{{::entry.loadedkg}}</td>

View File

@ -3,7 +3,7 @@
vn-travel-extra-community { vn-travel-extra-community {
.header { .header {
margin-bottom: 16px; margin-bottom: 16px;
font-size: 1.25rem; font-size: 1.1rem;
line-height: 1; line-height: 1;
padding: 7px; padding: 7px;
padding-bottom: 7px; padding-bottom: 7px;
@ -47,12 +47,15 @@ vn-travel-extra-community {
} }
.td-editable { .td-editable {
input{ max-width: 200px;
font-size: 1.25rem!important;
} }
vn-input-number.number {
min-width: 100px;
padding-right: 10px;
} }
.number * { .number * {
text-align: right; text-align: center;
} }
} }