Fix tippy placement for icon picker
This commit is contained in:
+1
-1
@@ -365,7 +365,7 @@
|
|||||||
/* tippy popover */
|
/* tippy popover */
|
||||||
|
|
||||||
.tippy-box {
|
.tippy-box {
|
||||||
@apply shadow-xl;
|
@apply rounded-box shadow-xl;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* emoji picker */
|
/* emoji picker */
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ export const allNotifications = derived(
|
|||||||
)
|
)
|
||||||
|
|
||||||
export const notifications = derived([page, allNotifications], ([$page, $allNotifications]) => {
|
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(() => {
|
export const onNotification = call(() => {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
bind:popover
|
bind:popover
|
||||||
component={IconPickerDialog}
|
component={IconPickerDialog}
|
||||||
props={{onSelect: onClick}}
|
props={{onSelect: onClick}}
|
||||||
params={{trigger: "manual", interactive: true}}>
|
params={{trigger: "manual", interactive: true, placement: "top-end"}}>
|
||||||
<Button onclick={open} class={props.class}>
|
<Button onclick={open} class={props.class}>
|
||||||
{@render props.children?.()}
|
{@render props.children?.()}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user