Minor UX updates
This commit is contained in:
parent
46c54e8119
commit
5ddc543bd5
|
@ -781,7 +781,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<Divider />
|
<Divider noMargin />
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<Layout gap="L" noPadding>
|
<Layout gap="L" noPadding>
|
||||||
<div class="user-invite-form">
|
<div class="user-invite-form">
|
||||||
|
@ -808,19 +808,21 @@
|
||||||
: Constants.BudibaseRoleOptionsNew.filter(
|
: Constants.BudibaseRoleOptionsNew.filter(
|
||||||
option => option.value !== Constants.BudibaseRoles.Admin
|
option => option.value !== Constants.BudibaseRoles.Admin
|
||||||
)}
|
)}
|
||||||
label="Role"
|
label="Access"
|
||||||
/>
|
/>
|
||||||
{#if creationRoleType !== Constants.BudibaseRoles.Admin}
|
{#if creationRoleType !== Constants.BudibaseRoles.Admin}
|
||||||
<RoleSelect
|
<span class="role-wrap">
|
||||||
placeholder={false}
|
<RoleSelect
|
||||||
bind:value={creationAccessType}
|
placeholder={false}
|
||||||
allowPublic={false}
|
bind:value={creationAccessType}
|
||||||
allowCreator={true}
|
allowPublic={false}
|
||||||
quiet={true}
|
allowCreator={true}
|
||||||
autoWidth
|
quiet={true}
|
||||||
align="right"
|
autoWidth
|
||||||
fancySelect
|
align="right"
|
||||||
/>
|
fancySelect
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</FancyForm>
|
</FancyForm>
|
||||||
{#if creationRoleType === Constants.BudibaseRoles.Admin}
|
{#if creationRoleType === Constants.BudibaseRoles.Admin}
|
||||||
|
@ -847,6 +849,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.role-wrap :global(.fancy-field:not(:last-of-type)) {
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.search :global(input) {
|
.search :global(input) {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
minWidth: "200px",
|
minWidth: "200px",
|
||||||
},
|
},
|
||||||
role: {
|
role: {
|
||||||
|
displayName: "Access",
|
||||||
sortable: false,
|
sortable: false,
|
||||||
width: "1fr",
|
width: "1fr",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue