From e08f05a46e1bf2348f21e023bcbda7441b745ed2 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Fri, 25 Mar 2022 15:07:41 -0300 Subject: [PATCH] More updates to new item page design with mobile compatibility. #455 --- src/views/admin/admin.vue | 5 +++-- .../components/edition/item-edition-form.vue | 16 ++++++++++++---- .../admin/components/navigation/primary-menu.vue | 2 +- .../navigation/tainacan-collection-subheader.vue | 2 +- .../navigation/tainacan-repository-subheader.vue | 2 +- src/views/admin/pages/singles/item-page.vue | 4 ++-- src/views/admin/scss/tainacan-admin.scss | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/src/views/admin/admin.vue b/src/views/admin/admin.vue index df5e1c72b..6c55d5a44 100644 --- a/src/views/admin/admin.vue +++ b/src/views/admin/admin.vue @@ -41,7 +41,8 @@ :is-menu-compressed="isMenuCompressed"/>
+ class="column is-main-content" + :style="$adminOptions.hidePrimaryMenu ? '--tainacan-sidebar-width: 0px' : ''">
@@ -184,7 +185,7 @@ @media screen and (max-width: 769px) { overflow-y: visible; - margin: 40px auto 0 auto; + margin: 38px auto 0 auto; } diff --git a/src/views/admin/components/edition/item-edition-form.vue b/src/views/admin/components/edition/item-edition-form.vue index 9e0719b31..1f03ae69d 100644 --- a/src/views/admin/components/edition/item-edition-form.vue +++ b/src/views/admin/components/edition/item-edition-form.vue @@ -364,7 +364,9 @@ v-if="!$adminOptions.hideItemEditionDocument || !$adminOptions.hideItemEditionThumbnail" class="column is-5"> -
+