Browse Source

component ui tweak

David Sehnal 5 years ago
parent
commit
cb83013967
1 changed files with 3 additions and 1 deletions
  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() {
         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>;
     }
 }