mirror of
https://github.com/ankitects/anki.git
synced 2026-01-12 13:33:55 -05:00
Fix: Layout shift
This commit is contained in:
parent
83049f7169
commit
b082b81de9
1 changed files with 25 additions and 27 deletions
|
|
@ -522,37 +522,35 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<button
|
||||||
<button
|
class="btn {computing ? 'btn-warning' : 'btn-primary'}"
|
||||||
class="btn {computing ? 'btn-warning' : 'btn-primary'}"
|
disabled={computing}
|
||||||
disabled={computing}
|
on:click={workload ? simulateWorkload : simulateFsrs}
|
||||||
on:click={workload ? simulateWorkload : simulateFsrs}
|
>
|
||||||
>
|
{tr.deckConfigSimulate()}
|
||||||
{tr.deckConfigSimulate()}
|
</button>
|
||||||
</button>
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="btn {computing ? 'btn-warning' : 'btn-primary'}"
|
class="btn {computing ? 'btn-warning' : 'btn-primary'}"
|
||||||
disabled={computing}
|
disabled={computing}
|
||||||
on:click={clearSimulation}
|
on:click={clearSimulation}
|
||||||
>
|
>
|
||||||
{tr.deckConfigClearLastSimulate()}
|
{tr.deckConfigClearLastSimulate()}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="btn {computing ? 'btn-warning' : 'btn-primary'}"
|
class="btn {computing ? 'btn-warning' : 'btn-primary'}"
|
||||||
disabled={computing}
|
disabled={computing}
|
||||||
on:click={saveConfigToPreset}
|
on:click={saveConfigToPreset}
|
||||||
>
|
>
|
||||||
{tr.deckConfigSaveOptionsToPreset()}
|
{tr.deckConfigSaveOptionsToPreset()}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
|
||||||
|
{#if processing}
|
||||||
|
{tr.actionsProcessing()}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if processing}
|
|
||||||
{tr.actionsProcessing()}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<Graph>
|
<Graph>
|
||||||
<div class="radio-group">
|
<div class="radio-group">
|
||||||
<InputBox>
|
<InputBox>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue