Fix tippy placement for icon picker
This commit is contained in:
parent
c1f9c9e25e
commit
7566f56858
3 changed files with 3 additions and 3 deletions
|
|
@ -365,7 +365,7 @@
|
|||
/* tippy popover */
|
||||
|
||||
.tippy-box {
|
||||
@apply shadow-xl;
|
||||
@apply rounded-box shadow-xl;
|
||||
}
|
||||
|
||||
/* emoji picker */
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ export const allNotifications = derived(
|
|||
)
|
||||
|
||||
export const notifications = derived([page, allNotifications], ([$page, $allNotifications]) => {
|
||||
return new Set([...$allNotifications].filter(p => $page.url.pathname.startsWith(p)))
|
||||
return new Set([...$allNotifications].filter(p => !$page.url.pathname.startsWith(p)))
|
||||
})
|
||||
|
||||
export const onNotification = call(() => {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
bind:popover
|
||||
component={IconPickerDialog}
|
||||
props={{onSelect: onClick}}
|
||||
params={{trigger: "manual", interactive: true}}>
|
||||
params={{trigger: "manual", interactive: true, placement: "top-end"}}>
|
||||
<Button onclick={open} class={props.class}>
|
||||
{@render props.children?.()}
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue