1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00

Fix confirm dialogue inside table cell and standardise styles

This commit is contained in:
Andrew Kingston 2020-09-25 11:30:26 +01:00
parent d2d68cbc40
commit 217529f3a4
4 changed files with 9 additions and 8 deletions

View file

@ -34,7 +34,9 @@
<Modal id={title} bind:this={theModal}>
<h2>{title}</h2>
<Spacer extraLarge />
<slot class="rows">{body}</slot>
<div class="content">
<slot class="rows">{body}</slot>
</div>
<Spacer extraLarge />
<div class="modal-footer">
<Button red wide on:click={ok}>{okText}</Button>
@ -54,4 +56,9 @@
display: grid;
grid-gap: var(--spacing-s);
}
.content {
white-space: normal;
font-size: var(--font-size-s);
}
</style>

View file

@ -11,6 +11,4 @@
}
</script>
<div class="bb-margin-m">
<DatePicker placeholder={label} on:change={onChange} {value} />
</div>
<DatePicker placeholder={label} on:change={onChange} {value} />

View file

@ -26,7 +26,6 @@
.numberbox {
display: grid;
align-items: center;
margin-bottom: 16px;
}
label {

View file

@ -17,14 +17,11 @@
<div class="margin">
<label class="label">{label}</label>
<textarea value={valuesText} on:change={inputChanged} />
</div>
<style>
.margin {
margin-bottom: 16px;
display: grid;
}
.label {