Merge pull request #1117 from dbeaver/chore/cb-2548/product-information-design

chore(corer-blocks): CB-2548 product information design
This commit is contained in:
Alexey
2022-09-09 12:27:03 +03:00
committed by GitHub
4 changed files with 11 additions and 1 deletions
@@ -62,6 +62,10 @@ export const BASE_CONTAINERS_STYLES = css`
&[parent] {
padding: 24px;
&[compact] {
padding: 16px;
}
&[dense] {
padding: 8px;
}
@@ -70,6 +74,10 @@ export const BASE_CONTAINERS_STYLES = css`
&[gap] {
gap: 24px;
&[compact] {
gap: 16px;
}
&[dense] {
gap: 8px;
}
@@ -20,4 +20,5 @@ export interface IContainerProps extends ILayoutSizeProps {
gap?: boolean;
grid?: boolean;
dense?: boolean;
compact?: boolean;
}
@@ -22,6 +22,7 @@ export function filterContainerFakeProps<T extends IContainerProps>(props: T): O
gap,
grid,
dense,
compact,
...rest
} = filterLayoutFakeProps(props);
@@ -65,7 +65,7 @@ export const ProductInfoDialog = observer<DialogComponentProps<null>>(
onReject={props.rejectDialog}
>
<ColoredContainer>
<Group gap>
<Group gap compact box>
{!productInfo ? (
<TextPlaceholder>{translate('app_product_info_placeholder')}</TextPlaceholder>
) : (