mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22: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}
|
||||
</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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue