MapComplete/src/UI/Base/TitledPanel.svelte

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

12 lines
294 B
Svelte
Raw Normal View History

2024-07-11 19:01:32 +02:00
<div class="flex h-full flex-col">
<h2 class="low-interaction m-0 flex items-center p-4 drop-shadow-md">
<slot name="title" />
</h2>
<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>