This commit is contained in:
Juan Ferrer 2019-01-17 10:44:18 +01:00
commit 2c8e52d04d
2 changed files with 7 additions and 2 deletions

View File

@ -5,12 +5,13 @@ export default class FetchedTags {
set item(value) {
if (value) {
let tags = [];
for (let i = 5; i < 5 + this.maxLength; i++)
for (let i = 5; i < 5 + this.maxLength; i++) {
if (value['tag' + i]) {
let tagValue = value['value' + i];
let tagKey = value['tag' + i];
tags.push({name: tagKey, value: tagValue, position: i - 5});
}
}
this.tags = tags;
}
this._item = value;

View File

@ -1,6 +1,10 @@
@import "colors";
vn-fetched-tags {
&.noTitle vn-one {
display: none !important;
}
@media screen and (max-width: 1600px){
& vn-horizontal {
flex-direction: column;
@ -47,7 +51,7 @@ vn-fetched-tags {
text-align: center;
font-size: 0.8em;
height: 1.25em;
padding: 0.4em;
padding: 0.3em;
width: 5em;
border: 1px solid $secondary-font-color;
}