mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fix missing left margin in CongratsPage (#1498)
This commit is contained in:
parent
11042a16ce
commit
1a874b184d
1 changed files with 31 additions and 28 deletions
|
@ -4,6 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Container from "../components/Container.svelte";
|
import Container from "../components/Container.svelte";
|
||||||
|
import Col from "../components/Col.svelte";
|
||||||
import type { Scheduler } from "../lib/proto";
|
import type { Scheduler } from "../lib/proto";
|
||||||
import { buildNextLearnMsg } from "./lib";
|
import { buildNextLearnMsg } from "./lib";
|
||||||
import { bridgeLink } from "../lib/bridgecommand";
|
import { bridgeLink } from "../lib/bridgecommand";
|
||||||
|
@ -25,40 +26,42 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Container class="d-flex justify-content-center pt-3">
|
<Container --gutter-block="1rem" --gutter-inline="2px" breakpoint="sm">
|
||||||
<div class="congrats">
|
<Col --col-justify="center">
|
||||||
<h3>{congrats}</h3>
|
<div class="congrats">
|
||||||
|
<h3>{congrats}</h3>
|
||||||
|
|
||||||
<p>{nextLearnMsg}</p>
|
<p>{nextLearnMsg}</p>
|
||||||
|
|
||||||
{#if info.reviewRemaining}
|
{#if info.reviewRemaining}
|
||||||
<p>{today_reviews}</p>
|
<p>{today_reviews}</p>
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#if info.newRemaining}
|
|
||||||
<p>{today_new}</p>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#if info.bridgeCommandsSupported}
|
|
||||||
{#if info.haveSchedBuried || info.haveUserBuried}
|
|
||||||
<p>
|
|
||||||
{@html buriedMsg}
|
|
||||||
</p>
|
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if !info.isFilteredDeck}
|
{#if info.newRemaining}
|
||||||
<p>
|
<p>{today_new}</p>
|
||||||
{@html customStudyMsg}
|
|
||||||
</p>
|
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#if info.deckDescription}
|
{#if info.bridgeCommandsSupported}
|
||||||
<div class="description">
|
{#if info.haveSchedBuried || info.haveUserBuried}
|
||||||
{@html info.deckDescription}
|
<p>
|
||||||
</div>
|
{@html buriedMsg}
|
||||||
{/if}
|
</p>
|
||||||
</div>
|
{/if}
|
||||||
|
|
||||||
|
{#if !info.isFilteredDeck}
|
||||||
|
<p>
|
||||||
|
{@html customStudyMsg}
|
||||||
|
</p>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{#if info.deckDescription}
|
||||||
|
<div class="description">
|
||||||
|
{@html info.deckDescription}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
</Col>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
Loading…
Reference in a new issue