add class to 'show timer' switch

This commit is contained in:
Damien Elmes 2022-02-14 20:04:19 +10:00
parent 098881741b
commit b652e3b895

View file

@ -33,13 +33,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</Item> </Item>
<Item> <Item>
<SwitchRow <!-- AnkiMobile hides this -->
bind:value={$config.showTimer} <div class="show-timer-switch" style="display: contents;">
defaultValue={defaults.showTimer} <SwitchRow
markdownTooltip={tr.deckConfigShowAnswerTimerTooltip()} bind:value={$config.showTimer}
> defaultValue={defaults.showTimer}
{tr.schedulingShowAnswerTimer()} markdownTooltip={tr.deckConfigShowAnswerTimerTooltip()}
</SwitchRow> >
{tr.schedulingShowAnswerTimer()}
</SwitchRow>
</div>
</Item> </Item>
</DynamicallySlottable> </DynamicallySlottable>
</TitledContainer> </TitledContainer>