tatort added
This commit is contained in:
28
tatort/src/lib/components/ui/Modal/ModalContent.svelte
Normal file
28
tatort/src/lib/components/ui/Modal/ModalContent.svelte
Normal file
@@ -0,0 +1,28 @@
|
||||
<style>
|
||||
.content {
|
||||
@apply flex;
|
||||
flex: 1;
|
||||
|
||||
/* max-height: 100vh; */
|
||||
}
|
||||
|
||||
.scroll {
|
||||
@apply overflow-y-auto;
|
||||
}
|
||||
|
||||
.padding {
|
||||
@apply p-6;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export let scroll = true;
|
||||
export let padding = true;
|
||||
|
||||
let classNames = '';
|
||||
export { classNames as class };
|
||||
</script>
|
||||
|
||||
<div class="{classNames} content flex-1 text-left" class:scroll class:padding>
|
||||
<slot />
|
||||
</div>
|
||||
Reference in New Issue
Block a user