mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32: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>
|
<Row>
|
||||||
<Col size={7}>
|
<Col size={7}>
|
||||||
<RevertButton bind:value {defaultValue} />
|
|
||||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||||
</Col>
|
</Col>
|
||||||
<Col {breakpoint} size={5}>
|
<Col {breakpoint} size={5}>
|
||||||
<EnumSelector bind:value {choices} />
|
<EnumSelector bind:value {choices} />
|
||||||
|
<RevertButton bind:value {defaultValue} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col size={7}>
|
<Col size={7}>
|
||||||
<RevertButton bind:value {defaultValue} />
|
|
||||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||||
</Col>
|
</Col>
|
||||||
<Col size={5}>
|
<Col size={5}>
|
||||||
<SpinBoxFloat bind:value {min} {max} />
|
<SpinBoxFloat bind:value {min} {max} />
|
||||||
|
<RevertButton bind:value {defaultValue} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col size={7}>
|
<Col size={7}>
|
||||||
<RevertButton bind:value {defaultValue} />
|
|
||||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||||
</Col>
|
</Col>
|
||||||
<Col size={5}>
|
<Col size={5}>
|
||||||
<SpinBox bind:value {min} {max} />
|
<SpinBox bind:value {min} {max} />
|
||||||
|
<RevertButton bind:value {defaultValue} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -16,10 +16,10 @@
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col size={7}>
|
<Col size={7}>
|
||||||
<RevertButton bind:value {defaultValue} />
|
|
||||||
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
<TooltipLabel {markdownTooltip}><slot /></TooltipLabel>
|
||||||
</Col>
|
</Col>
|
||||||
<Col size={5}>
|
<Col size={5}>
|
||||||
<StepsInput bind:value />
|
<StepsInput bind:value />
|
||||||
|
<RevertButton bind:value {defaultValue} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -19,12 +19,12 @@
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
<RevertButton bind:value {defaultValue} />
|
|
||||||
{#if markdownTooltip}<TooltipLabel for={id} {markdownTooltip}
|
{#if markdownTooltip}<TooltipLabel for={id} {markdownTooltip}
|
||||||
><slot /></TooltipLabel
|
><slot /></TooltipLabel
|
||||||
>{:else}<Label for={id}><slot /></Label>{/if}
|
>{:else}<Label for={id}><slot /></Label>{/if}
|
||||||
</Col>
|
</Col>
|
||||||
<Col grow={false}>
|
<Col grow={false}>
|
||||||
<Switch {id} bind:value />
|
<Switch {id} bind:value />
|
||||||
|
<RevertButton bind:value {defaultValue} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
Loading…
Reference in a new issue