Skip to content

Commit

Permalink
fix(ui): Remove obsolete css statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Jun 9, 2022
1 parent 9c57f0c commit 6793c67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/robot/capabilities/CapabilityLayout.tsx
Expand Up @@ -11,9 +11,8 @@ const useWideLayout = (): boolean => {
export const CapabilityContainer: React.FunctionComponent<{ children: React.ReactNode }> = ({children}): JSX.Element => {
const wideLayout = useWideLayout();
if (wideLayout && children) {
//As of "@mui/lab": "5.0.0-alpha.82", for some reason, in our setup we need to override flex-flow or else the items will be in a single column
return (
<Masonry columns={3} spacing={2} style={{flexFlow: "row wrap"}}>
<Masonry columns={3} spacing={2}>
{children}
</Masonry>
);
Expand Down

0 comments on commit 6793c67

Please sign in to comment.