diff --git a/src/Drawing.js b/src/Drawing.js index 7b97c32..00915ec 100644 --- a/src/Drawing.js +++ b/src/Drawing.js @@ -630,7 +630,8 @@ export default function Drawing(p) { marginLeft: 10, boxShadow: "0 0 5px gray", borderWidth: 0, - width: 60, + width: 100, + height: 60, pointerEvents: "auto" }} onClick={onOpenButtonClick}> @@ -662,11 +663,12 @@ export default function Drawing(p) { marginLeft: 10, boxShadow: "0 0 5px gray", borderWidth: 0, - width: 60, + width: 100, + height: 60, pointerEvents: "auto" }} onClick={onSaveButtonClick}> - Save + Download Save @@ -678,7 +680,8 @@ export default function Drawing(p) { marginLeft: 10, boxShadow: "0 0 5px gray", borderWidth: 0, - width: 60, + width: 100, + height: 60, pointerEvents: "auto" }} onClick={onExportButtonClick}> @@ -693,7 +696,8 @@ export default function Drawing(p) { marginLeft: 10, boxShadow: "0 0 5px gray", borderWidth: 0, - width: 60, + width: 100, + height: 60, pointerEvents: "auto" }} onClick={() => { @@ -723,7 +727,7 @@ export default function Drawing(p) { } window.location.reload() }}> - Home + Save / Home diff --git a/src/StartForm.js b/src/StartForm.js index 431e8a7..e42694b 100644 --- a/src/StartForm.js +++ b/src/StartForm.js @@ -96,10 +96,40 @@ export default function StartForm(p) { display: "flex", justifyContent: "center", alignItems: "center", - textAlign: "center" + textAlign: "center", + flexDirection: "column" + }} onClick={(f) => { + if(f.target === f.currentTarget) { + p.onLoadIn(e.content, e.id) + } + }}>
{e.name}
+ + ))}