mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix/Help modal appears behind simulator modal (#4171)
* Fix/Help modal appears behind simulator modal * Correct help modal keys (Doesn't work)
This commit is contained in:
parent
d3e1fd1f80
commit
8a3b72e6e5
2 changed files with 12 additions and 13 deletions
|
@ -181,6 +181,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal {
|
||||||
|
z-index: 1066;
|
||||||
|
background-color: rgba($color: black, $alpha: 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
margin-inline-end: 0.75rem;
|
margin-inline-end: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -296,7 +296,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
min={0}
|
min={0}
|
||||||
max={9999}
|
max={9999}
|
||||||
>
|
>
|
||||||
<SettingTitle on:click={() => openHelpModal("simulateFsrsReview")}>
|
<SettingTitle on:click={() => openHelpModal("newLimit")}>
|
||||||
{tr.schedulingNewCardsday()}
|
{tr.schedulingNewCardsday()}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
</SpinBoxRow>
|
</SpinBoxRow>
|
||||||
|
@ -307,7 +307,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
min={0}
|
min={0}
|
||||||
max={9999}
|
max={9999}
|
||||||
>
|
>
|
||||||
<SettingTitle on:click={() => openHelpModal("simulateFsrsReview")}>
|
<SettingTitle on:click={() => openHelpModal("reviewLimit")}>
|
||||||
{tr.schedulingMaximumReviewsday()}
|
{tr.schedulingMaximumReviewsday()}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
</SpinBoxRow>
|
</SpinBoxRow>
|
||||||
|
@ -327,9 +327,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
min={1}
|
min={1}
|
||||||
max={36500}
|
max={36500}
|
||||||
>
|
>
|
||||||
<SettingTitle
|
<SettingTitle on:click={() => openHelpModal("maximumInterval")}>
|
||||||
on:click={() => openHelpModal("simulateFsrsReview")}
|
|
||||||
>
|
|
||||||
{tr.schedulingMaximumInterval()}
|
{tr.schedulingMaximumInterval()}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
</SpinBoxRow>
|
</SpinBoxRow>
|
||||||
|
@ -339,9 +337,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
defaultValue={$config.reviewOrder}
|
defaultValue={$config.reviewOrder}
|
||||||
choices={reviewOrderChoices($fsrs)}
|
choices={reviewOrderChoices($fsrs)}
|
||||||
>
|
>
|
||||||
<SettingTitle
|
<SettingTitle on:click={() => openHelpModal("reviewSortOrder")}>
|
||||||
on:click={() => openHelpModal("simulateFsrsReview")}
|
|
||||||
>
|
|
||||||
{tr.deckConfigReviewSortOrder()}
|
{tr.deckConfigReviewSortOrder()}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
</EnumSelectorRow>
|
</EnumSelectorRow>
|
||||||
|
@ -351,7 +347,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
defaultValue={$newCardsIgnoreReviewLimit}
|
defaultValue={$newCardsIgnoreReviewLimit}
|
||||||
>
|
>
|
||||||
<SettingTitle
|
<SettingTitle
|
||||||
on:click={() => openHelpModal("simulateFsrsReview")}
|
on:click={() => openHelpModal("newCardsIgnoreReviewLimit")}
|
||||||
>
|
>
|
||||||
<GlobalLabel
|
<GlobalLabel
|
||||||
title={tr.deckConfigNewCardsIgnoreReviewLimit()}
|
title={tr.deckConfigNewCardsIgnoreReviewLimit()}
|
||||||
|
@ -372,9 +368,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
defaultValue={$config.leechAction ==
|
defaultValue={$config.leechAction ==
|
||||||
DeckConfig_Config_LeechAction.SUSPEND}
|
DeckConfig_Config_LeechAction.SUSPEND}
|
||||||
>
|
>
|
||||||
<SettingTitle
|
<SettingTitle on:click={() => openHelpModal("leechAction")}>
|
||||||
on:click={() => openHelpModal("simulateFsrsReview")}
|
|
||||||
>
|
|
||||||
{tr.deckConfigSuspendLeeches()}
|
{tr.deckConfigSuspendLeeches()}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
</SwitchRow>
|
</SwitchRow>
|
||||||
|
@ -387,7 +381,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
max={9999}
|
max={9999}
|
||||||
>
|
>
|
||||||
<SettingTitle
|
<SettingTitle
|
||||||
on:click={() => openHelpModal("simulateFsrsReview")}
|
on:click={() => openHelpModal("leechThreshold")}
|
||||||
>
|
>
|
||||||
{tr.schedulingLeechThreshold()}
|
{tr.schedulingLeechThreshold()}
|
||||||
</SettingTitle>
|
</SettingTitle>
|
||||||
|
|
Loading…
Reference in a new issue