Explorar el Código

component ui tweak

David Sehnal hace 5 años
padre
commit
cb83013967
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/mol-plugin-ui/structure/components.tsx

+ 3 - 1
src/mol-plugin-ui/structure/components.tsx

@@ -208,7 +208,9 @@ class ComponentListControls extends PurePluginUIComponent {
 
 
     render() {
     render() {
         const componentGroups = this.plugin.managers.structure.hierarchy.componentGroups;
         const componentGroups = this.plugin.managers.structure.hierarchy.componentGroups;
-        return componentGroups.map(g => <StructureComponentGroup key={g[0].cell.transform.ref} group={g} />)
+        return <div style={{ marginTop: '8px' }}>
+            {componentGroups.map(g => <StructureComponentGroup key={g[0].cell.transform.ref} group={g} />)}
+        </div>;
     }
     }
 }
 }