Skip to content

Commit da7715a

Browse files
committed
fix: increase legend margins
1 parent 996606c commit da7715a

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-codeflare-dashboard/src/components/Dashboard

1 file changed

+1
-1
lines changed

Diff for: plugins/plugin-codeflare-dashboard/src/components/Dashboard/Grid.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default class Grid extends React.PureComponent<GridProps> {
115115
private legend() {
116116
const H = this.histoModel()
117117
const outerBoxProps: BoxProps = {
118-
marginRight: 1,
118+
marginRight: this.props.legendPosition === "right" ? 2 : 1,
119119
justifyContent: "flex-end",
120120
}
121121
const innerBoxProps: BoxProps = {

0 commit comments

Comments
 (0)