fix(web): user management responsive design (#5698)

* fix: user management tailwind

* use top instead of inset-y-0

* add types to createEventDispatcher
This commit is contained in:
martin 2023-12-14 17:55:15 +01:00 committed by GitHub
parent 8e39d389b5
commit f2270ad757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 257 additions and 135 deletions

View file

@ -6,7 +6,9 @@
import { getAssetControlContext } from '../asset-select-control-bar.svelte';
let showModal = false;
const dispatch = createEventDispatcher();
const dispatch = createEventDispatcher<{
escape: void;
}>();
const { getAssets } = getAssetControlContext();
const escape = () => {
dispatch('escape');

View file

@ -19,7 +19,9 @@
const { clearSelect, getOwnedAssets } = getAssetControlContext();
const dispatch = createEventDispatcher();
const dispatch = createEventDispatcher<{
escape: void;
}>();
let isShowConfirmation = false;
let loading = false;