diff --git a/front/core/components/fetched-tags/index.js b/front/core/components/fetched-tags/index.js index 6b7ce2a46..d7f711dae 100644 --- a/front/core/components/fetched-tags/index.js +++ b/front/core/components/fetched-tags/index.js @@ -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; diff --git a/front/core/components/fetched-tags/style.scss b/front/core/components/fetched-tags/style.scss index 3a5f59d3c..ec96d1efa 100644 --- a/front/core/components/fetched-tags/style.scss +++ b/front/core/components/fetched-tags/style.scss @@ -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; }