Merge pull request #1177 from Budibase/bug/automation-css

Bug/automation css
This commit is contained in:
Michael Drury 2021-02-24 17:22:59 +00:00 committed by GitHub
commit a5c3cedc9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 4 deletions

View File

@ -143,10 +143,18 @@
margin-top: 0;
}
.bindings__wrapper {
overflow-y: auto;
overflow-y: scroll;
overflow-x: hidden;
position: relative;
flex: 1 1 auto;
-ms-overflow-style: none;
}
.bindings__wrapper::-webkit-scrollbar {
width: 0;
height: 0;
}
.bindings__list {
position: absolute;
width: 100%;

View File

@ -24,7 +24,7 @@
<div class="container" bind:this={anchor}>
<Input {...inputProps} bind:value />
<div class="icon" on:click={popover.show}>
<Icon name="edit" />
<Icon name="lightning" />
</div>
</div>
<GenericBindingPopover
@ -54,6 +54,7 @@
border-bottom-right-radius: var(--border-radius-m);
color: var(--grey-7);
font-size: 16px;
margin-top: 20px;
}
.icon:hover {
color: var(--ink);

View File

@ -37,8 +37,10 @@
return [...acc, ...viewsArr]
}, [])
$: queries = $backendUiStore.queries
.filter(query => showAllQueries || (query.queryVerb === "read" || query.readable))
.map(query => ({
.filter(
query => showAllQueries || query.queryVerb === "read" || query.readable
)
.map(query => ({
label: query.name,
name: query.name,
tableId: query._id,