mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Revamp Mobile/Desktop switcher without completely reloading.
Remove switcher from login page, it became useless.
This commit is contained in:
parent
292f3289ac
commit
d7994ddab6
35 changed files with 159 additions and 202 deletions
|
|
@ -5,10 +5,9 @@ export const doc = document;
|
|||
|
||||
export const $htmlCL = doc.documentElement.classList;
|
||||
|
||||
export const Settings = rl.settings;
|
||||
export const elementById = id => doc.getElementById(id);
|
||||
|
||||
/** @media screen and (max-width: 600px) { */
|
||||
export const isMobile = () => $htmlCL.contains('rl-mobile');
|
||||
export const Settings = rl.settings;
|
||||
|
||||
export const dropdownVisibility = ko.observable(false).extend({ rateLimit: 0 });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue