mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Wrap input and revert button into one col
This commit is contained in:
parent
17b39b8ef8
commit
2a318f4695
2 changed files with 3 additions and 6 deletions
|
@ -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}
|
{label}{#if renderedTooltip}<HelpPopup html={renderedTooltip} />{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-3">
|
<div class="col-sm-4 d-flex align-items-center">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-1 d-flex align-items-center">
|
|
||||||
<RevertButton bind:value {defaultValue} on:revert />
|
<RevertButton bind:value {defaultValue} on:revert />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,8 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
export let title: string;
|
export let title: string;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="container-fluid mb-3">
|
<div class="container-fluid my-4">
|
||||||
<h1 class="mt-3">{title}</h1>
|
<h1>{title}</h1>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue