Merge pull request #12429 from Budibase/fix/user-invite-minor-fixes

Minor UI updates
This commit is contained in:
Andrew Kingston 2023-11-23 17:56:14 +00:00 committed by GitHub
commit 176f7fe404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 12 deletions

View File

@ -781,7 +781,7 @@
{/if}
</div>
{:else}
<Divider />
<Divider noMargin />
<div class="body">
<Layout gap="L" noPadding>
<div class="user-invite-form">
@ -808,19 +808,21 @@
: Constants.BudibaseRoleOptionsNew.filter(
option => option.value !== Constants.BudibaseRoles.Admin
)}
label="Role"
label="Access"
/>
{#if creationRoleType !== Constants.BudibaseRoles.Admin}
<RoleSelect
placeholder={false}
bind:value={creationAccessType}
allowPublic={false}
allowCreator={true}
quiet={true}
autoWidth
align="right"
fancySelect
/>
<span class="role-wrap">
<RoleSelect
placeholder={false}
bind:value={creationAccessType}
allowPublic={false}
allowCreator={true}
quiet={true}
autoWidth
align="right"
fancySelect
/>
</span>
{/if}
</FancyForm>
{#if creationRoleType === Constants.BudibaseRoles.Admin}
@ -847,6 +849,13 @@
</div>
<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) {
padding-left: 0px;
}

View File

@ -82,6 +82,7 @@
minWidth: "200px",
},
role: {
displayName: "Access",
sortable: false,
width: "1fr",
},