Explorar el Código

fixed mol* full screen bug

bioinsilico hace 4 años
padre
commit
b7ead23886
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      package.json
  2. 1 1
      src/RcsbFv3D/RcsbFv3DComponent.tsx

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@rcsb/rcsb-saguaro-3d",
-  "version": "0.0.21",
+  "version": "0.0.22",
   "description": "RCSB Molstar/Saguaro Web App",
   "main": "build/dist/RcsbFv3DBuilder.js",
   "files": [

+ 1 - 1
src/RcsbFv3D/RcsbFv3DComponent.tsx

@@ -87,7 +87,7 @@ export class RcsbFv3DComponent extends React.Component <RcsbFv3DComponentInterfa
     }
 
     private structureCssConfig(css: CSSProperties | undefined): CSSProperties{
-        return {...{width:Math.round((1-this.pfvScreenFraction)*100).toString()+"%", height:"100%"}, ...css };
+        return {...{width:Math.round((1-this.pfvScreenFraction)*100).toString()+"%", height:"100%", zIndex:1}, ...css };
     }
 
     private sequenceCssConfig(css: CSSProperties | undefined): CSSProperties{