libreoffice-online/loleaflet/html
Jan Holesovsky 9978752258 mobile detection: Create a separate device-*.css for the phone/tablet/desktop.
The problem is that the @media-based detection often disagrees with the
JS-based detection which then leads to many problems - most notably that
part of the UI behaves as if it was a tablet, and the other part as if
was a mobile phone, leading to a terrible user experience.

This commit changes it so that there is only one way how to detect if
we are on mobile phone, tablet or desktop: using the JavaScript, and we
will load the appropriate css accordingly.

Only one @media-based rule is converted as an example, the rest will
follow.

Change-Id: Id7bfb58ca12264904b3329db1542ae6b54893f11
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91416
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-31 20:31:49 +02:00
..
framed.doc.html Framed sample - add frame_ancestors instructions. 2020-02-10 23:23:31 +01:00
framed.html make iframe load in http:// case, too 2020-02-10 21:32:27 +01:00
loleaflet-help.html help: Apply suggestions from Mihail Balabanov and Steen Rønnow from Weblate 2020-03-15 22:16:47 +01:00
loleaflet.html.m4 mobile detection: Create a separate device-*.css for the phone/tablet/desktop. 2020-03-31 20:31:49 +02:00
signing-identities.html loleaflet: enable l10n of Signing Identities dialog 2018-12-09 21:53:49 +01:00