mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-29 21:21:18 -08:00
Add text size buttons to the console's top bar (v3.2.1)
AI Assisted
This commit is contained in:
1 parent
8277c8b548
commit
634e4df10e
25 files changed
+188
-40
No files matched your search
@@ -207,6 +207,17 @@
|
||||
<path class="mg-line" d="M7 14.5l1.2 5h2.4l-.9-3.8M17.5 9.5a4 4 0 0 1 0 5M20 7a7.5 7.5 0 0 1 0 10" />
|
||||
</svg>
|
||||
</a>
|
||||
<!-- Text size: [-], the size (a click returns to 100%), [+]. Saved with
|
||||
the looks; the page's type tokens scale from it (tokens.css). -->
|
||||
<div class="text-size" id="text-size" role="group" aria-label="Text size">
|
||||
<button type="button" class="icon-btn" id="btn-text-smaller" title="Smaller text" aria-label="Smaller text">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 12h12" /></svg>
|
||||
</button>
|
||||
<button type="button" class="text-size-label" id="btn-text-size" title="Back to 100%" aria-label="Text size, back to 100%">100%</button>
|
||||
<button type="button" class="icon-btn" id="btn-text-larger" title="Larger text" aria-label="Larger text">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M6 12h12M12 6v12" /></svg>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Activities: small games for a long wait. Opens a dialog that pauses
|
||||
the moment Plan2Code needs the person; nothing in it reaches the agent. -->
|
||||
<button type="button" class="icon-btn" id="btn-activities" title="Activities" aria-label="Activities">
|
||||
@@ -1542,6 +1553,12 @@
|
||||
The <strong>megaphone</strong> button opens Plan2Code's
|
||||
GitHub issues, where you can report a bug or suggest an idea.
|
||||
</li>
|
||||
<li>
|
||||
The <strong>[-]</strong> and <strong>[+]</strong> buttons make the
|
||||
whole page's text smaller or larger, in seven steps from 80% to 150%;
|
||||
the size between them (click it) returns to 100%. Your choice is kept, and
|
||||
Back to default on the Appearance tab resets it.
|
||||
</li>
|
||||
<li>
|
||||
The <strong>die</strong> beside it opens <strong>Activities</strong>,
|
||||
small games to play while you wait. See "Activities".
|
||||
|
||||
Reference in new issue
Block a user