Style fixes

This commit is contained in:
Juan 2018-03-01 21:54:18 +01:00
parent 4b12411d6b
commit 127c5e6c02
4 changed files with 6 additions and 11 deletions

View File

@ -1,9 +1,7 @@
<a
ui-sref="clientCard.basicData({ id: {{::$ctrl.client.id}} })"
translate-attr="{title: 'View client'}"
class="vn-list-item"
pad-medium
border-solid-bottom>
class="vn-list-item">
<vn-horizontal ng-click="$ctrl.onClick($event)">
<vn-one>
<h6>{{::$ctrl.client.name}}</h6>

View File

@ -1,9 +1,7 @@
<a
ui-sref="item.card.summary({ id: {{$ctrl.item.id}} })"
translate-attr="{title: 'View item'}"
class="vn-list-item"
pad-medium
border-solid-bottom>
class="vn-list-item">
<vn-horizontal ng-click="$ctrl.onClick($event)">
<vn-auto class="image" margin-medium-right>
<img

View File

@ -1,10 +1,6 @@
import ngModule from '../module';
class ItemProduct {
constructor($http) {
this.$http = $http;
}
onClick(event) {
if (event.defaultPrevented)
event.stopImmediatePropagation();
@ -20,7 +16,6 @@ class ItemProduct {
this.ItemList.showItemPreview(this.item);
}
}
ItemProduct.$inject = ['$http', '$scope', 'vnPopover'];
ngModule.component('vnItemProduct', {
template: require('./item-product.html'),

View File

@ -1,6 +1,7 @@
@import "padding";
@import "margin";
@import "colors";
@import "border";
.form {
height: 100%;
@ -151,6 +152,9 @@ vn-main-block {
}
.vn-list-item {
@extend .pad-medium;
@extend .border-solid-bottom;
display: block;
text-decoration: none;
color: inherit;