Wrap input and revert button into one col

This commit is contained in:
Henrik Giesel 2021-05-27 23:36:25 +02:00
parent 17b39b8ef8
commit 2a318f4695
2 changed files with 3 additions and 6 deletions

View file

@ -26,11 +26,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
{label}{#if renderedTooltip}<HelpPopup html={renderedTooltip} />{/if}
</div>
<div class="col-3">
<div class="col-sm-4 d-flex align-items-center">
<slot />
</div>
<div class="col-1 d-flex align-items-center">
<RevertButton bind:value {defaultValue} on:revert />
</div>
</div>

View file

@ -6,8 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export let title: string;
</script>
<div class="container-fluid mb-3">
<h1 class="mt-3">{title}</h1>
<div class="container-fluid my-4">
<h1>{title}</h1>
<slot />
</div>