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
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Button that cycles the colour scheme (wired up by webroot/js/plenario.js `Theme`).
|
||||
* Icon-only button that cycles the colour scheme (wired up by webroot/js/plenario.js `Theme`);
|
||||
* the current and next scheme are in aria-label and title.
|
||||
* Without JavaScript it stays hidden, the system setting applies.
|
||||
*
|
||||
* @var \App\View\AppView $this
|
||||
@@ -18,7 +19,6 @@ $class ??= 'theme-switch';
|
||||
data-label-prefix="<?= __('Farbschema') ?>" data-label-next="<?= __('wechseln zu') ?>"
|
||||
<?= !empty($shortcut) ? 'aria-keyshortcuts="' . h($shortcut) . '"' : '' ?>>
|
||||
<span class="theme-switch__icon" aria-hidden="true" data-theme-icon></span>
|
||||
<span data-theme-label></span>
|
||||
<?php if (!empty($shortcut)) : ?>
|
||||
<kbd class="ctrl__key" aria-hidden="true">[<?= h($shortcut) ?>]</kbd>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in new issue
Block a user