list item widht image forced by css

This commit is contained in:
Daniel Herrero 2017-12-19 14:33:01 +01:00
parent 5bc375d324
commit adb2f60fef
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,6 @@
<img ng-src="http://verdnatura.es/vn-image-data/catalog/200x200/{{$ctrl.item.image}}" /> <img ng-src="http://verdnatura.es/vn-image-data/catalog/200x200/{{$ctrl.item.image}}" />
</vn-auto> </vn-auto>
<vn-one> <vn-one>
<div class="vn-item-name">{{$ctrl.item.name}}</div>
<div><span translate>Id</span>: <b>{{$ctrl.item.id}}</b></div> <div><span translate>Id</span>: <b>{{$ctrl.item.id}}</b></div>
<div><span translate>Category</span>: <b>{{$ctrl.item.category}}</b></div> <div><span translate>Category</span>: <b>{{$ctrl.item.category}}</b></div>
<div><span translate>Description</span>: <b>{{$ctrl.item.description}}</b></div> <div><span translate>Description</span>: <b>{{$ctrl.item.description}}</b></div>

View File

@ -11,6 +11,10 @@ vn-item-product a:hover {
background-color: #424242; background-color: #424242;
} }
vn-item-product img {
max-width: 150px;
}
.vn-item-product-name { .vn-item-product-name {
font-family: vn-font-bold; font-family: vn-font-bold;
} }