From f20e42a917668d18187349678e913a822093d3c2 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 22 Dec 2023 11:23:41 +0100
Subject: [PATCH] z-index 99 for fullscreen molstar

---
 components/content/MolstarPdbePlugin.vue | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/components/content/MolstarPdbePlugin.vue b/components/content/MolstarPdbePlugin.vue
index 79716b07..aa034479 100644
--- a/components/content/MolstarPdbePlugin.vue
+++ b/components/content/MolstarPdbePlugin.vue
@@ -189,9 +189,8 @@ const moleculeFormat: Ref<string> = ref("pdb")
                         <v-sheet v-if="selectedPdb"
                             class="d-flex align-center justify-center flex-wrap text-center mx-auto px-4 my-3"
                             :height="computedHeight" :width="computedWidth" position="relative">
-                            <pdbe-molstar ref="pdbeMolstarComponent" hide-controls="true" landscape="true"
-                                :custom-data-url="selectedPdb" alphafold-view="true"
-                                :custom-data-format="moleculeFormat"></pdbe-molstar>
+                            <pdbe-molstar ref="pdbeMolstarComponent" landscape :custom-data-url="selectedPdb"
+                                alphafold-view="true" :custom-data-format="moleculeFormat"></pdbe-molstar>
                         </v-sheet>
                     </v-col>
                     <v-col :cols="mobile ? 12 : undefined">
@@ -262,6 +261,10 @@ const moleculeFormat: Ref<string> = ref("pdb")
     color: black !important;
 }
 
+.msp-layout-expanded {
+    z-index: 99 !important
+}
+
 .legendColor {
     height: 16px;
     width: 16px;
-- 
GitLab