From 317e705b39754f98287d751c0e1b84416b866a7f Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Sat, 28 Jan 2023 20:23:16 +0600 Subject: [PATCH] Gmail ui fixes (#2554) Signed-off-by: Denis Bykhov --- dev/prod/.env | 2 +- .../ui/src/components/PopupInstance.svelte | 1 - .../src/components/Chats.svelte | 15 +++++++--- .../src/components/FullMessage.svelte | 6 ++-- .../src/components/FullMessageContent.svelte | 2 ++ .../src/components/FullMessagePopup.svelte | 28 +++++++++++++++++-- .../src/components/NewMessage.svelte | 6 ++-- .../src/components/PluginCard.svelte | 3 +- 8 files changed, 48 insertions(+), 15 deletions(-) diff --git a/dev/prod/.env b/dev/prod/.env index 9f9ee8bdf7..af9a193c98 100644 --- a/dev/prod/.env +++ b/dev/prod/.env @@ -2,7 +2,7 @@ LOGIN_ENDPOINT=ws://localhost:3333 TELEGRAM_URL=http://localhost:8086 -GMAIL_URL=http://localhost:8087 +GMAIL_URL=http://localhost:8088 FRONT_URL=http://localhost:8080 REKONI_URL=http://localhost:4004 diff --git a/packages/ui/src/components/PopupInstance.svelte b/packages/ui/src/components/PopupInstance.svelte index 382fba7b84..7a517789e9 100644 --- a/packages/ui/src/components/PopupInstance.svelte +++ b/packages/ui/src/components/PopupInstance.svelte @@ -171,7 +171,6 @@ background-color: transparent; transform-origin: center; opacity: 0; - max-width: 95%; &.preShow { transform: scale(0.9); diff --git a/plugins/gmail-resources/src/components/Chats.svelte b/plugins/gmail-resources/src/components/Chats.svelte index a0d9e7f223..4fbc3ffab4 100644 --- a/plugins/gmail-resources/src/components/Chats.svelte +++ b/plugins/gmail-resources/src/components/Chats.svelte @@ -122,16 +122,22 @@ {#if enabled} -
+
{#if selectable} -
+
{selected.size}
-
-
@@ -139,6 +145,7 @@
-
+
{/if} -
+
diff --git a/plugins/gmail-resources/src/components/FullMessageContent.svelte b/plugins/gmail-resources/src/components/FullMessageContent.svelte index 1096016a21..3d5ac08a9a 100644 --- a/plugins/gmail-resources/src/components/FullMessageContent.svelte +++ b/plugins/gmail-resources/src/components/FullMessageContent.svelte @@ -21,6 +21,8 @@