tags not showing correctly fixed
This commit is contained in:
parent
ad03d1edf7
commit
f5c845ef5a
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue