2021-04-15 15:59:52 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
2021-03-30 18:57:50 +02:00
|
|
|
<script lang="typescript">
|
2021-04-28 22:15:24 +02:00
|
|
|
import { setContext } from "svelte";
|
|
|
|
import { dropdownKey } from "./contextKeys";
|
2021-03-30 18:57:50 +02:00
|
|
|
|
2021-04-28 22:15:24 +02:00
|
|
|
export let id: string | undefined;
|
|
|
|
|
|
|
|
setContext(dropdownKey, null);
|
2021-03-30 18:57:50 +02:00
|
|
|
</script>
|
|
|
|
|
2021-04-14 19:36:41 +02:00
|
|
|
<style lang="scss">
|
2021-04-28 22:15:24 +02:00
|
|
|
div {
|
2021-04-27 17:20:13 +02:00
|
|
|
background-color: var(--frame-bg);
|
2021-04-16 18:14:09 +02:00
|
|
|
border-color: var(--medium-border);
|
|
|
|
}
|
2021-04-14 19:36:41 +02:00
|
|
|
</style>
|
|
|
|
|
2021-04-28 22:15:24 +02:00
|
|
|
<div {id}>
|
|
|
|
<slot />
|
|
|
|
</div>
|