Skip to content

Commit

Permalink
Backport multiple DC UI fix to 1.4
Browse files Browse the repository at this point in the history
> Display a maximum of three datacenters per row in the UI.
> (More than three DCs per row messes up the table and becomes unreadable.)
  • Loading branch information
michaelsembwever committed Aug 23, 2019
1 parent 3dcb5d5 commit 8bcf6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/app/jsx/cluster-list.jsx
Expand Up @@ -214,7 +214,7 @@ const Datacenter = React.createClass({
marginLeft: "0",
paddingLeft: "0",
paddingRight: "1px",
width: (((dcSize/this.props.totalLoad)*100)) + "%"
width: Math.max(33,((dcSize/this.props.totalLoad)*100)) + "%"
};

let badgeStyle = {
Expand Down

0 comments on commit 8bcf6d3

Please sign in to comment.