UI fixes: EventElement, RoomPopup, BooleanEditor (#5860)

Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
Alexander Platov 2024-06-19 16:39:01 +03:00 committed by GitHub
parent ec655fd28a
commit 0ac9cdebeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -209,6 +209,7 @@
icon={love.icon.EnterRoom}
label={love.string.EnterRoom}
size={'large'}
kind={'primary'}
autoFocus
on:click={connect}
/>

View File

@ -25,6 +25,7 @@
</script>
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
<div class="menu-space" />
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="menu-item" on:click={() => dispatch('close', 1)}>
@ -57,6 +58,7 @@
{/if}
</div>
{/if}
<div class="menu-space" />
</div>
<style lang="scss">