From 61ec8b48eb5a457280a44978416a912979540c2e Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 17 Jan 2022 10:34:39 +0100 Subject: [PATCH 1/2] new file, open file fixed --- .../home-tab/src/lib/remix-ui-home-tab.css | 1 + .../home-tab/src/lib/remix-ui-home-tab.tsx | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css index 6644f4988e..b4f82c18d5 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.css @@ -1,5 +1,6 @@ .remixui_text { cursor: pointer; + font-size: 0.8rem; font-weight: normal; max-width: 300px; } diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index c130d35a64..c222e3fa06 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -125,6 +125,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { } const createNewFile = async () => { + plugin.verticalIcons.select('filePanel') await plugin.call('filePanel', 'createNewFile') } @@ -261,21 +262,22 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {

File

- createNewFile()}>New File +

- + + + { + event.stopPropagation() + plugin.verticalIcons.select('filePanel') + uploadFile(event.target) + }} multiple />

- connectToLocalhost()}>Connect to Localhost +

@@ -301,7 +303,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {

- switchToPreviousVersion()}>Old experience +

From 74ab21cf111def21c1aa7f4d4f9ea7dae27f1e49 Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Mon, 17 Jan 2022 10:40:27 +0100 Subject: [PATCH 2/2] Update remix-ui-home-tab.tsx --- libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index 6464c9f6af..ecbca46eb7 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -262,7 +262,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {

File

- +