mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
move revert button to the right
With a confirmation step now, accidental taps when scrolling shouldn't be an issue, and it leaves more room for the text.
This commit is contained in:
parent
cde63469dc
commit
a7cf5cb5eb
5 changed files with 5 additions and 5 deletions
|
@ -20,10 +20,10 @@
|
|||
|
||||
<Row>
|
||||
<Col size={7}>
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||
</Col>
|
||||
<Col {breakpoint} size={5}>
|
||||
<EnumSelector bind:value {choices} />
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
|
||||
<Row>
|
||||
<Col size={7}>
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||
</Col>
|
||||
<Col size={5}>
|
||||
<SpinBoxFloat bind:value {min} {max} />
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
|
||||
<Row>
|
||||
<Col size={7}>
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||
</Col>
|
||||
<Col size={5}>
|
||||
<SpinBox bind:value {min} {max} />
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
<Row>
|
||||
<Col size={7}>
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||
</Col>
|
||||
<Col size={5}>
|
||||
<StepsInput bind:value />
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
|
||||
<Row>
|
||||
<Col>
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
{#if markdownTooltip}<TooltipLabel for={id} {markdownTooltip}
|
||||
><slot /></TooltipLabel
|
||||
>{:else}<Label for={id}><slot /></Label>{/if}
|
||||
</Col>
|
||||
<Col grow={false}>
|
||||
<Switch {id} bind:value />
|
||||
<RevertButton bind:value {defaultValue} />
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
Loading…
Reference in a new issue