[go: nahoru, domu]

Skip to content

Commit

Permalink
UI fixes: EventElement, RoomPopup, BooleanEditor (hcengineering#5860)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
  • Loading branch information
SasLord committed Jun 19, 2024
1 parent ec655fd commit 0ac9cde
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions plugins/love-resources/src/components/RoomPopup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
icon={love.icon.EnterRoom}
label={love.string.EnterRoom}
size={'large'}
kind={'primary'}
autoFocus
on:click={connect}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)}>
Expand Down Expand Up @@ -57,6 +58,7 @@
{/if}
</div>
{/if}
<div class="menu-space" />
</div>

<style lang="scss">
Expand Down

0 comments on commit 0ac9cde

Please sign in to comment.