bugfixes after team usage
This commit is contained in:
parent
053f3b4e6f
commit
75825dea1e
|
@ -99,7 +99,7 @@
|
||||||
<EditRowPopover {row} />
|
<EditRowPopover {row} />
|
||||||
</td>
|
</td>
|
||||||
{#each headers as header}
|
{#each headers as header}
|
||||||
<td class="hoverable">
|
<td>
|
||||||
{#if schema[header].type === 'link'}
|
{#if schema[header].type === 'link'}
|
||||||
<LinkedRecord field={schema[header]} ids={row[header]} />
|
<LinkedRecord field={schema[header]} ids={row[header]} />
|
||||||
{:else}{row[header] || ''}{/if}
|
{:else}{row[header] || ''}{/if}
|
||||||
|
|
|
@ -124,8 +124,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.field {
|
.field {
|
||||||
margin-top: var(--spacing-xl);
|
display: grid;
|
||||||
margin-bottom: var(--spacing-xl);
|
grid-template-columns: auto 20px 1fr;
|
||||||
|
align-items: center;
|
||||||
|
grid-gap: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: var(--spacing-l);
|
||||||
|
font-family: var(--font-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-margin-3 {
|
.button-margin-3 {
|
||||||
|
|
|
@ -31,6 +31,9 @@
|
||||||
{/each}
|
{/each}
|
||||||
</Select>
|
</Select>
|
||||||
{:else}
|
{:else}
|
||||||
|
{#if type === 'checkbox'}
|
||||||
|
<label>{label}</label>
|
||||||
|
{/if}
|
||||||
<Input
|
<Input
|
||||||
thin
|
thin
|
||||||
placeholder={label}
|
placeholder={label}
|
||||||
|
@ -41,3 +44,12 @@
|
||||||
on:input={handleInput}
|
on:input={handleInput}
|
||||||
on:change={handleInput} />
|
on:change={handleInput} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
label {
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: var(--font-size-s);
|
||||||
|
float: left;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
@ -11,21 +11,6 @@
|
||||||
|
|
||||||
const { open, close } = getContext("simple-modal")
|
const { open, close } = getContext("simple-modal")
|
||||||
|
|
||||||
let HEADINGS = [
|
|
||||||
{
|
|
||||||
title: "Tables",
|
|
||||||
key: "TABLES",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Tables",
|
|
||||||
key: "NAVIGATE",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: "Add",
|
|
||||||
key: "ADD",
|
|
||||||
},
|
|
||||||
]
|
|
||||||
|
|
||||||
$: selectedTab = $backendUiStore.tabs.NAVIGATION_PANEL
|
$: selectedTab = $backendUiStore.tabs.NAVIGATION_PANEL
|
||||||
|
|
||||||
function selectModel(model, fieldId) {
|
function selectModel(model, fieldId) {
|
||||||
|
@ -44,7 +29,7 @@
|
||||||
{#if $backendUiStore.selectedDatabase && $backendUiStore.selectedDatabase._id}
|
{#if $backendUiStore.selectedDatabase && $backendUiStore.selectedDatabase._id}
|
||||||
<div class="hierarchy">
|
<div class="hierarchy">
|
||||||
<div class="components-list-container">
|
<div class="components-list-container">
|
||||||
<h3>Tables</h3>
|
<h4>Tables</h4>
|
||||||
<CreateTablePopover />
|
<CreateTablePopover />
|
||||||
<div class="hierarchy-items-container">
|
<div class="hierarchy-items-container">
|
||||||
{#each $backendUiStore.models as model}
|
{#each $backendUiStore.models as model}
|
||||||
|
@ -63,6 +48,10 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
h4 {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
.items-root {
|
.items-root {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
Loading…
Reference in New Issue