1
0
Fork 0
mirror of synced 2024-10-02 01:56:57 +13:00

styling fixes

This commit is contained in:
kevmodrome 2020-04-09 13:47:47 +02:00
parent 97ee1601e2
commit e33db1ea39
5 changed files with 29 additions and 43 deletions

View file

@ -136,18 +136,18 @@
bind:value={clonedField.typeOptions.maxLength} /> bind:value={clonedField.typeOptions.maxLength} />
{/if} {/if}
</form> </form>
</div>
<footer> <footer>
<ActionButton primary on:click={save}>Save</ActionButton> <ActionButton primary on:click={save}>Save</ActionButton>
<ActionButton alert on:click={() => onFinished(false)}>Cancel</ActionButton> <ActionButton alert on:click={() => onFinished(false)}>Cancel</ActionButton>
</footer> </footer>
</div>
<style> <style>
.root {
margin: 20px;
}
footer { footer {
position: absolute;
padding: 20px; padding: 20px;
width: 100%;
bottom: 0; bottom: 0;
left: 0; left: 0;
background: #fafafa; background: #fafafa;

View file

@ -144,6 +144,7 @@
} }
heading { heading {
padding: 20px 20px 0 20px;
display: flex; display: flex;
align-items: center; align-items: center;
} }

View file

@ -1,16 +1,7 @@
<script> <script>
import ActionButton from "components/common/ActionButton.svelte"
import { backendUiStore } from "builderStore"
import ModelView from "../../ModelView.svelte" import ModelView from "../../ModelView.svelte"
import * as api from "../api"
</script> </script>
<section> <section>
<ModelView /> <ModelView />
</section> </section>
<style>
section {
padding: 30px;
}
</style>

View file

@ -1,14 +1,7 @@
<script> <script>
import IndexView from "../../IndexView.svelte" import IndexView from "../../IndexView.svelte"
import * as api from "../api"
</script> </script>
<section> <section>
<IndexView /> <IndexView />
</section> </section>
<style>
section {
padding: 30px;
}
</style>

View file

@ -100,7 +100,6 @@
} }
</script> </script>
<div class="root">
<heading> <heading>
{#if !editingField} {#if !editingField}
<i class="ri-list-settings-line button--toggled" /> <i class="ri-list-settings-line button--toggled" />
@ -111,6 +110,7 @@
{/if} {/if}
</heading> </heading>
{#if !editingField} {#if !editingField}
<div class="padding">
<h4 class="budibase__label--big">Settings</h4> <h4 class="budibase__label--big">Settings</h4>
{#if $store.errors && $store.errors.length > 0} {#if $store.errors && $store.errors.length > 0}
@ -185,6 +185,7 @@
</ActionButton> </ActionButton>
{/if} {/if}
</div> </div>
</div>
{:else} {:else}
<FieldView <FieldView
field={fieldToEdit} field={fieldToEdit}
@ -192,11 +193,10 @@
allFields={record.fields} allFields={record.fields}
store={$store} /> store={$store} />
{/if} {/if}
</div>
<style> <style>
.root { .padding {
height: 100%; padding: 20px;
} }
.new-field { .new-field {
@ -225,6 +225,7 @@
} }
heading { heading {
padding: 20px 20px 0 20px;
display: flex; display: flex;
align-items: center; align-items: center;
} }