Fix ModelSelect styles in frontend settings

This commit is contained in:
Andrew Kingston 2020-10-13 08:26:13 +01:00
parent 42f4bcc339
commit 5af85541ec
1 changed files with 19 additions and 6 deletions

View File

@ -5,9 +5,22 @@
export let value
</script>
<div>
<Select thin secondary wide on:change {value}>
<option value="" />
<option value="">Choose a table</option>
{#each $backendUiStore.models as model}
<option value={model._id}>{model.name}</option>
{/each}
</Select>
</div>
<style>
div {
flex: 1 1 auto;
display: flex;
flex-direction: row;
}
div :global(> *) {
flex: 1 1 auto;
}
</style>