parent
3115ae650b
commit
58f5a45859
|
@ -34,7 +34,7 @@
|
|||
|
||||
.canvasAssetManager__emptyPanel {
|
||||
max-width: 400px;
|
||||
margin: 0 auto;
|
||||
margin: $euiSizeXL auto 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ import {
|
|||
EuiModalHeader,
|
||||
EuiModalHeaderTitle,
|
||||
EuiOverlayMask,
|
||||
EuiPanel,
|
||||
EuiProgress,
|
||||
EuiSpacer,
|
||||
EuiText,
|
||||
|
@ -70,13 +69,13 @@ export const AssetModal: FunctionComponent<Props> = props => {
|
|||
const percentageUsed = Math.round((assetsTotal / ASSET_MAX_SIZE) * 100);
|
||||
|
||||
const emptyAssets = (
|
||||
<EuiPanel className="canvasAssetManager__emptyPanel">
|
||||
<div className="canvasAssetManager__emptyPanel">
|
||||
<EuiEmptyPrompt
|
||||
iconType="importAction"
|
||||
title={<h2>{strings.getEmptyAssetsDescription()}</h2>}
|
||||
titleSize="xs"
|
||||
/>
|
||||
</EuiPanel>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
|
@ -23,7 +23,7 @@ export const WorkpadTemplates = compose(
|
|||
// Clone workpad given an id
|
||||
cloneWorkpad: props => workpad => {
|
||||
workpad.id = getId('workpad');
|
||||
workpad.name = `Untitled Workpad - ${workpad.name}`;
|
||||
workpad.name = `My Canvas Workpad - ${workpad.name}`;
|
||||
workpad.tags = undefined;
|
||||
return workpadService
|
||||
.create(workpad)
|
||||
|
|
|
@ -42,7 +42,7 @@ export const getDefaultPage = () => {
|
|||
export const getDefaultWorkpad = () => {
|
||||
const page = getDefaultPage();
|
||||
return {
|
||||
name: 'Untitled Workpad',
|
||||
name: 'My Canvas Workpad',
|
||||
id: getId('workpad'),
|
||||
width: 1080,
|
||||
height: 720,
|
||||
|
|
Loading…
Reference in a new issue