budibase/packages/builder/src/components/settings/SettingsModal.svelte

35 lines
726 B
Svelte
Raw Normal View History

2020-06-19 09:14:03 +02:00
<script>
import { General, DangerZone, APIKeys } from "./tabs"
2021-04-21 13:43:58 +02:00
import { ModalContent, Tab, Tabs } from "@budibase/bbui"
2020-06-19 09:14:03 +02:00
</script>
2020-10-08 10:35:11 +02:00
<ModalContent
title="Settings"
showConfirmButton={false}
showCancelButton={false}
>
<div class="container">
2021-04-21 13:43:58 +02:00
<Tabs selected="General">
<Tab title="General">
<General />
</Tab>
<Tab title="API Keys">
<APIKeys />
</Tab>
<Tab title="Danger Zone">
<DangerZone />
</Tab>
</Tabs>
</div>
2020-10-08 10:35:11 +02:00
</ModalContent>
2020-06-19 09:14:03 +02:00
<style>
2020-09-30 11:24:16 +02:00
.container :global(section > header) {
/* Fix margin defined in BBUI as L rather than XL */
margin-bottom: var(--spacing-xl);
2020-06-19 09:14:03 +02:00
}
2020-10-02 13:22:49 +02:00
.container :global(textarea) {
min-height: 60px;
2020-06-19 09:14:03 +02:00
}
</style>