mirror of
https://github.com/wekan/wekan.git
synced 2026-02-24 08:54:06 +01:00
Mobile one board per row. Board zoom size percent. Board toggle mobile/desktop mode. In Progress.
Thanks to xet7 ! Related #5902
This commit is contained in:
parent
339ca581ab
commit
752699d1c2
18 changed files with 3019 additions and 55 deletions
|
|
@ -76,6 +76,15 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
},
|
||||
onRendered() {
|
||||
// Initialize user settings (zoom and mobile mode)
|
||||
Utils.initializeUserSettings();
|
||||
|
||||
// Detect iPhone devices and add class for better CSS targeting
|
||||
const isIPhone = /iPhone|iPod/.test(navigator.userAgent);
|
||||
if (isIPhone) {
|
||||
document.body.classList.add('iphone-device');
|
||||
}
|
||||
|
||||
// Accessibility: Focus management for popups and menus
|
||||
function focusFirstInteractive(container) {
|
||||
if (!container) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue