mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
fix(frontend): fix hidden wizards (#3045)
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
import SimpleEditor from '../SimpleEditor.svelte'
|
||||
import Label from '../Label.svelte'
|
||||
import Tooltip from '../Tooltip.svelte'
|
||||
|
||||
import Button from '../common/button/Button.svelte'
|
||||
import { offset, flip, shift } from 'svelte-floating-ui/dom'
|
||||
|
||||
type Column = {
|
||||
minWidth: number
|
||||
@@ -83,7 +83,11 @@
|
||||
</script>
|
||||
|
||||
<Popup
|
||||
floatingConfig={{ strategy: 'fixed', placement: 'left-end' }}
|
||||
floatingConfig={{
|
||||
strategy: 'fixed',
|
||||
placement: 'left-end',
|
||||
middleware: [offset(8), flip(), shift()]
|
||||
}}
|
||||
containerClasses="border rounded-lg shadow-lg bg-surface p-4"
|
||||
>
|
||||
<svelte:fragment slot="button">
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
import Button from '../common/button/Button.svelte'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
import { ColumnIdentity, type ColumnDef } from '../apps/components/display/dbtable/utils'
|
||||
import { offset, flip, shift } from 'svelte-floating-ui/dom'
|
||||
|
||||
export let value: ColumnDef | undefined
|
||||
|
||||
@@ -119,8 +120,12 @@
|
||||
</script>
|
||||
|
||||
<Popup
|
||||
floatingConfig={{ strategy: 'fixed', placement: 'left-start' }}
|
||||
containerClasses="border rounded-lg shadow-lg bg-surface p-4 h-[512px] max-h-[512px] overflow-y-auto"
|
||||
floatingConfig={{
|
||||
strategy: 'fixed',
|
||||
placement: 'left-start',
|
||||
middleware: [offset(8), flip(), shift()]
|
||||
}}
|
||||
containerClasses="border rounded-lg shadow-lg bg-surface p-4 max-h-[512px] overflow-y-auto"
|
||||
>
|
||||
<svelte:fragment slot="button">
|
||||
<slot name="trigger" />
|
||||
|
||||
Reference in New Issue
Block a user