mirror of
https://github.com/open-webui/open-webui
synced 2025-06-16 19:31:52 +00:00
add whitespace and semi colon
This commit is contained in:
parent
305435b4ef
commit
3886dee1ce
@ -3,7 +3,7 @@
|
|||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
import { flyAndScale } from '$lib/utils/transitions';
|
import { flyAndScale } from '$lib/utils/transitions';
|
||||||
import * as FocusTrap from 'focus-trap'
|
import * as FocusTrap from 'focus-trap';
|
||||||
export let show = true;
|
export let show = true;
|
||||||
export let size = 'md';
|
export let size = 'md';
|
||||||
export let containerClassName = 'p-3';
|
export let containerClassName = 'p-3';
|
||||||
@ -46,7 +46,7 @@
|
|||||||
onMount(() => {
|
onMount(() => {
|
||||||
mounted = true;
|
mounted = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
$: if (show && modalElement) {
|
$: if (show && modalElement) {
|
||||||
document.body.appendChild(modalElement);
|
document.body.appendChild(modalElement);
|
||||||
focusTrap = FocusTrap.createFocusTrap(modalElement);
|
focusTrap = FocusTrap.createFocusTrap(modalElement);
|
||||||
|
Loading…
Reference in New Issue
Block a user