Enlarge participant headings and make theme switch icon-only
The slide heading on the participant page was smaller than a regular h1 on phones. The theme switch now shows only its icon; the current and next scheme stay available as aria-label and tooltip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4eed568a64
commit
1cb439de18
3 files changed
+6
-6
No files matched your search
@@ -1655,7 +1655,6 @@
|
||||
var mode = current();
|
||||
var next = modes[(modes.indexOf(mode) + 1) % modes.length];
|
||||
button.querySelector('[data-theme-icon]').textContent = THEME_ICONS[mode];
|
||||
button.querySelector('[data-theme-label]').textContent = label(mode);
|
||||
var text = button.getAttribute('data-label-prefix') + ': ' + label(mode) + ', '
|
||||
+ button.getAttribute('data-label-next') + ' ' + label(next);
|
||||
button.setAttribute('aria-label', text);
|
||||
|
||||
Reference in new issue
Block a user