fix: allocate landed cost on inventory items.

This commit is contained in:
a.bouhuolia
2021-12-04 16:32:37 +02:00
parent 008faaece6
commit d3c5131020
15 changed files with 277 additions and 77 deletions

View File

@@ -0,0 +1,15 @@
import React from 'react';
import styled from 'styled-components';
import { Classes } from '@blueprintjs/core';
export function DialogFooter({ children }) {
return (
<DialogFooterRoot className={Classes.DIALOG_FOOTER}>
{children}
</DialogFooterRoot>
);
}
const DialogFooterRoot = styled.div`
display: flex;
`;

View File

@@ -14,13 +14,11 @@ export function DialogFooterActions({ alignment = 'right', children }) {
}
const DialogFooterActionsRoot = styled.div`
margin-left: -10px;
margin-right: -10px;
justify-content: ${(props) =>
props.alignment === 'right' ? 'flex-end' : 'flex-start'};
${(props) =>
props.alignment === 'right' ? 'margin-left: auto;' : 'margin-right: auto;'};
.bp3-button {
margin-left: 10px;
margin-left: 10px;
margin-left: 5px;
margin-left: 5px;
}
`;

View File

@@ -3,4 +3,5 @@
export * from './Dialog';
export * from './DialogFooterActions';
export * from './DialogSuspense';
export * from './DialogContent';
export * from './DialogContent';
export * from './DialogFooter';