1
0
Fork 0
mirror of synced 2024-09-13 15:57:37 +12:00
budibase/packages/standard-components/src/Embed.svelte

24 lines
364 B
Svelte
Raw Normal View History

<script>
import { styleable } from "@budibase/component-sdk"
export let embed
export let styles
</script>
<div use:styleable={styles}>
{@html embed}
</div>
<style>
div {
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
align-items: stretch;
}
div :global(> *) {
flex: 1 1 auto;
}
</style>