From 0ac9cdebebd050fcbc78ea96d9a44ece9fb3d99b Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Wed, 19 Jun 2024 16:39:01 +0300 Subject: [PATCH] UI fixes: EventElement, RoomPopup, BooleanEditor (#5860) Signed-off-by: Alexander Platov --- plugins/calendar-resources/src/components/EventElement.svelte | 2 +- plugins/love-resources/src/components/RoomPopup.svelte | 1 + plugins/view-resources/src/components/BooleanEditorPopup.svelte | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/calendar-resources/src/components/EventElement.svelte b/plugins/calendar-resources/src/components/EventElement.svelte index 828695f29a..a1b9ee54ca 100644 --- a/plugins/calendar-resources/src/components/EventElement.svelte +++ b/plugins/calendar-resources/src/components/EventElement.svelte @@ -26,7 +26,7 @@ // export let hourHeight: number export let size: { width: number, height: number } - $: oneRow = size.height < 25 || event.allDay + $: oneRow = size.height < 42 || event.allDay $: narrow = event.dueDate - event.date < MILLISECONDS_IN_MINUTE * 25 $: empty = size.width < 44 diff --git a/plugins/love-resources/src/components/RoomPopup.svelte b/plugins/love-resources/src/components/RoomPopup.svelte index e88e939c3a..2468062b39 100644 --- a/plugins/love-resources/src/components/RoomPopup.svelte +++ b/plugins/love-resources/src/components/RoomPopup.svelte @@ -209,6 +209,7 @@ icon={love.icon.EnterRoom} label={love.string.EnterRoom} size={'large'} + kind={'primary'} autoFocus on:click={connect} /> diff --git a/plugins/view-resources/src/components/BooleanEditorPopup.svelte b/plugins/view-resources/src/components/BooleanEditorPopup.svelte index 6eeadc330e..3d7f5dad49 100644 --- a/plugins/view-resources/src/components/BooleanEditorPopup.svelte +++ b/plugins/view-resources/src/components/BooleanEditorPopup.svelte @@ -25,6 +25,7 @@
dispatch('changeContent')}> +