Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into dev
This commit is contained in:
commit
2c8e52d04d
|
@ -5,12 +5,13 @@ export default class FetchedTags {
|
||||||
set item(value) {
|
set item(value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
let tags = [];
|
let tags = [];
|
||||||
for (let i = 5; i < 5 + this.maxLength; i++)
|
for (let i = 5; i < 5 + this.maxLength; i++) {
|
||||||
if (value['tag' + i]) {
|
if (value['tag' + i]) {
|
||||||
let tagValue = value['value' + i];
|
let tagValue = value['value' + i];
|
||||||
let tagKey = value['tag' + i];
|
let tagKey = value['tag' + i];
|
||||||
tags.push({name: tagKey, value: tagValue, position: i - 5});
|
tags.push({name: tagKey, value: tagValue, position: i - 5});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
this._item = value;
|
this._item = value;
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
@import "colors";
|
@import "colors";
|
||||||
|
|
||||||
vn-fetched-tags {
|
vn-fetched-tags {
|
||||||
|
&.noTitle vn-one {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1600px){
|
@media screen and (max-width: 1600px){
|
||||||
& vn-horizontal {
|
& vn-horizontal {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -47,7 +51,7 @@ vn-fetched-tags {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
height: 1.25em;
|
height: 1.25em;
|
||||||
padding: 0.4em;
|
padding: 0.3em;
|
||||||
width: 5em;
|
width: 5em;
|
||||||
border: 1px solid $secondary-font-color;
|
border: 1px solid $secondary-font-color;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue