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>