forked from MapComplete/MapComplete
Various style tweaks
This commit is contained in:
parent
d5430891bf
commit
ed9e59109e
12 changed files with 128 additions and 112 deletions
14
src/UI/Base/TitledPanel.svelte
Normal file
14
src/UI/Base/TitledPanel.svelte
Normal file
|
@ -0,0 +1,14 @@
|
|||
<script lang="ts">
|
||||
|
||||
import Translations from "../i18n/Translations"
|
||||
</script>
|
||||
|
||||
<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>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue