Skip to content

Commit 10ced2a

Browse files
committed
fix: restore flex-wrapping of grid (again)
1 parent ddb7a42 commit 10ced2a

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,11 @@ export default class Grid extends React.PureComponent<GridProps> {
208208
const flexDirection = this.legendPosition === "below" ? "column" : "row"
209209
const alignItems = this.legendPosition === "below" ? "center" : "center"
210210
const legendBoxProps = this.legendPosition === "below" ? { marginTop: 1 } : { marginLeft: 2 }
211-
// const flexWrap = this.legendPosition === "right" ? "wrap" : "nowrap"
211+
const flexWrap = this.legendPosition === "right" ? "wrap" : "nowrap"
212212

213213
return (
214214
<Box
215+
flexWrap={flexWrap}
215216
flexDirection={flexDirection}
216217
alignItems={alignItems}
217218
justifyContent="center"

0 commit comments

Comments
 (0)