@@ -69,14 +69,24 @@
}
},
computed: {
- isReadMode() {
- return this.$route && this.$route.query && this.$route.query.readmode;
- },
- isIframeMode() {
- return this.$route && this.$route.query && this.$route.query.iframemode;
- },
- isMobileMode() {
- return this.$route && this.$route.query && this.$route.query.mobilemode;
+ menuCompressButtonTop() {
+ let amountOfElementsAbove = [
+ this.$adminOptions.hidePrimaryMenuRepositoryButton,
+ this.$adminOptions.hidePrimaryMenuCollectionsButton,
+ this.$adminOptions.hidePrimaryMenuItemsButton
+ ].filter(Boolean).length;
+
+ switch (amountOfElementsAbove) {
+ case 3:
+ return 'calc(3.05em + 12px)';
+ case 2:
+ return 'calc(5.65em + 12px)';
+ case 1:
+ return 'calc(8.5em + 12px)';
+ case 0:
+ default:
+ return 'calc(11.125em + 12px)';
+ }
}
},
watch: {
@@ -135,7 +145,7 @@
}
@media screen and (max-width: 769px) {
- .is-fullheight:not(.tainacan-admin-mobile-mode):not(.tainacan-admin-collection-mobile-mode) {
+ .is-fullheight:not(.tainacan-admin-mobile-app-mode):not(.tainacan-admin-collection-mobile-app-mode) {
height: auto;
}
}
diff --git a/src/views/admin/components/edition/item-bulk-edition-form.vue b/src/views/admin/components/edition/item-bulk-edition-form.vue
index c0c4ae9d1..c630f23e4 100644
--- a/src/views/admin/components/edition/item-bulk-edition-form.vue
+++ b/src/views/admin/components/edition/item-bulk-edition-form.vue
@@ -5,7 +5,7 @@
:active.sync="isLoading"
:can-cancel="false"/>
{{ $i18n.get('add_items_bulk') }}