n3m3sis00 / phylo-react

React component library for Phylogenetic Analysis
https://n3m3sis00.github.io/phylo-react/
2 stars 1 forks source link

Fix rendering under Chrome? #3

Closed cmdcolin closed 4 years ago

n3m3sis00 commented 4 years ago
tree_div: {
    border: 0,
    borderRadius: 3,
    boxShadow: '0 3px 5px 2px rgba(0, 0, 0, .3)',
    width: 'calc(100vw - 32px)'
  },

Inspect

Setting the tree_div width specifically resolved the issue.

cmdcolin commented 4 years ago

Looks like it was fixed!