Skip to content

Commit 83ba0b8

Browse files
authored
Merge pull request #150 from DenisValeev/codex/move-shuffle-button-to-settings
Move Total Recall shuffle control into settings section
2 parents 0fef97c + aaafe3a commit 83ba0b8

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

apps/total-recall/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,23 +367,25 @@
367367
</div>
368368
</article>
369369
</section>
370-
<div class="controls" role="group" aria-label="Deck controls">
370+
<div class="controls" role="group" aria-label="Deck navigation">
371371
<button class="control-button control-button--secondary" type="button" data-prev>
372372
Previous
373373
</button>
374374
<button class="control-button control-button--secondary" type="button" data-next>
375375
Next
376376
</button>
377-
<button class="control-button control-button--secondary" type="button" data-shuffle>
378-
Reshuffle
379-
</button>
380377
</div>
381378
<details class="editor">
382-
<summary class="editor__summary">Manage raw notes</summary>
379+
<summary class="editor__summary">Deck settings &amp; raw notes</summary>
383380
<div class="editor__content">
384381
<p id="notes-description">Separate every entry with an empty line. Your notes stay in this browser.</p>
385382
<label for="notes-input" class="visually-hidden">Raw notes input</label>
386383
<textarea id="notes-input" class="editor__textarea" data-notes-input aria-describedby="notes-description" spellcheck="false"></textarea>
384+
<div class="editor__actions">
385+
<button class="control-button control-button--secondary" type="button" data-shuffle>
386+
Shuffle deck
387+
</button>
388+
</div>
387389
<div class="editor__actions">
388390
<button class="control-button control-button--primary" type="button" data-save>
389391
Save notes

0 commit comments

Comments
 (0)