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 a861b404b2
commit 86b475fe14
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 {