Improve layout and consistency of workflow block configuration

This commit is contained in:
Andrew Kingston 2020-09-09 12:36:19 +01:00
parent 901db0a375
commit 74ba18a841
2 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,7 @@
export let value export let value
</script> </script>
<div class="bb-margin-xl block-field"> <div class="block-field">
<select class="budibase__input" bind:value> <select class="budibase__input" bind:value>
<option value="" /> <option value="" />
{#each $backendUiStore.models as model} {#each $backendUiStore.models as model}

View File

@ -27,7 +27,7 @@
{:else if type === 'component'} {:else if type === 'component'}
<ComponentSelector bind:value={workflowBlock.args[parameter]} /> <ComponentSelector bind:value={workflowBlock.args[parameter]} />
{:else if type === 'accessLevel'} {:else if type === 'accessLevel'}
<Select bind:value={workflowBlock.args[parameter]} thin> <Select bind:value={workflowBlock.args[parameter]} thin secondary>
<option value="ADMIN">Admin</option> <option value="ADMIN">Admin</option>
<option value="POWER_USER">Power User</option> <option value="POWER_USER">Power User</option>
</Select> </Select>
@ -57,9 +57,12 @@
} }
label { label {
text-transform: capitalize;
font-size: 14px; font-size: 14px;
font-family: sans-serif;
font-weight: 500; font-weight: 500;
color: var(--ink);
margin-bottom: 12px;
text-transform: capitalize;
margin-top: 20px; margin-top: 20px;
} }