revert(ui): move Doctor trigger back to the page toolbar

Undo the Doctor relocation from fe160134 while keeping that commit's
unrelated header changes (full-width header, 32px click targets,
role/tabindex plus Enter/Space activation).

- Restore the .doctor-control-group button in controls.html
- Drop the .doctor-toggle icon and the hamburger menu entry from the header
- Remove the Header.js 'doctor' dropdown action forwarding to the button
- Drop the header-scoped doctor-toggle styles
- Restore the .doctor-trigger styles (desktop and mobile) in doctor-modal.css
This commit is contained in:
Will Miao
2026-09-13 08:13:55 +08:00
parent f3b3393a16
commit 0e789cb38c
5 changed files with 26 additions and 38 deletions
-7
View File
@@ -308,13 +308,6 @@ export class HeaderManager {
case 'notifications':
updateService.toggleUpdateModal();
break;
case 'doctor': {
const doctorToggle = document.getElementById('doctorTriggerBtn');
if (doctorToggle) {
doctorToggle.click();
}
break;
}
case 'support':
if (window.modalManager) {
window.modalManager.toggleModal('supportModal');