mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
UI fixes: EventElement, RoomPopup, BooleanEditor (#5860)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
parent
ec655fd28a
commit
0ac9cdebeb
@ -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
|
||||
|
||||
|
@ -209,6 +209,7 @@
|
||||
icon={love.icon.EnterRoom}
|
||||
label={love.string.EnterRoom}
|
||||
size={'large'}
|
||||
kind={'primary'}
|
||||
autoFocus
|
||||
on:click={connect}
|
||||
/>
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user