Fix ModelSelect styles in frontend settings
This commit is contained in:
parent
42f4bcc339
commit
5af85541ec
|
@ -5,9 +5,22 @@
|
||||||
export let value
|
export let value
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Select thin secondary wide on:change {value}>
|
<div>
|
||||||
<option value="" />
|
<Select thin secondary wide on:change {value}>
|
||||||
{#each $backendUiStore.models as model}
|
<option value="">Choose a table</option>
|
||||||
<option value={model._id}>{model.name}</option>
|
{#each $backendUiStore.models as model}
|
||||||
{/each}
|
<option value={model._id}>{model.name}</option>
|
||||||
</Select>
|
{/each}
|
||||||
|
</Select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
div :global(> *) {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue