MapComplete/src/UI/Base/TitledPanel.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
454 B
Svelte
Raw Normal View History

2024-07-11 19:01:32 +02:00
<div class="flex h-full flex-col">
<div class="low-interaction flex items-center justify-between p-4 drop-shadow-md">
<div class="flex gap-x-2">
<slot name="title-start" />
<h2 class="m-0">
<slot name="title" />
</h2>
</div>
<slot name="title-end" />
</div>
2024-07-11 19:01:32 +02:00
<div class="flex h-full flex-col overflow-auto border-b-2 p-4">
<slot />
</div>
2024-09-02 12:48:15 +02:00
<slot class="mt-1 border-t-gray-300" name="footer" />
2024-07-11 19:01:32 +02:00
</div>