Undo changes on breadcrumb and fixes form css.

This commit is contained in:
Mateus Machado Luna 2018-10-17 14:12:48 -03:00
parent 88bff00376
commit 935250067a
2 changed files with 8 additions and 13 deletions

View File

@ -510,13 +510,6 @@ export default {
width: 1em;
}
form.tainacan-form {
padding: 1.0em 2.0em;
border-top: 1px solid $gray2;
border-bottom: 1px solid $gray2;
margin-top: 1.0em;
}
.active-filters-area {
font-size: 14px;
margin-right: 0.8em;
@ -550,6 +543,13 @@ export default {
display: block;
transition: top 0.1s ease;
cursor: grab;
form.tainacan-form {
padding: 1.0em 2.0em;
margin-top: 1.0em;
border-top: 1px solid $gray2;
border-bottom: 1px solid $gray2;
}
&>.field, form {
background-color: white !important;

View File

@ -205,7 +205,7 @@ export default {
switch(this.arrayRealPath[i-1]) {
case 'collections':
this.fetchCollectionNameAndURL(this.arrayRealPath[i])
.then(collection => { this.arrayViewPath.splice(i, 1, collection.name); })
.then(collection => this.arrayViewPath.splice(i, 1, collection.name) )
.catch((error) => this.$console.error(error));
break;
@ -240,11 +240,6 @@ export default {
}
}
let itemsIndex = this.arrayViewPath.findIndex(viewItem => viewItem == this.$i18n.get('items'));
if (itemsIndex >= 0 && itemsIndex == this.arrayRealPath.length - 1) {
this.arrayViewPath.splice(itemsIndex, 1);
}
}
},
created() {