Skip to content

Commit

Permalink
Fix text-align center on parent node affecting the polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Mar 3, 2021
1 parent 6f27b40 commit 5a2d710
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ const useStyles = makeStyles(theme => {
overview: {
height: HEADER_BAR_HEIGHT,
position: 'relative',
// this is needed if a parent node, e.g. if embedded, uses textAlign
// center
textAlign: 'left',
},
overviewSvg: { position: 'absolute' },
}
Expand Down

0 comments on commit 5a2d710

Please sign in to comment.