Commit graph

4 commits

Author SHA1 Message Date
Jan Holesovsky
0f96ad6569 tablet: Avoid gap between menu and the upper toolbar.
Change-Id: I25845dbe6ddae8f35885b94a9d01902f3a4daa9c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91649
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 12:06:55 +02:00
Jan Holesovsky
9af7932213 tablet: Make the upper toolbar scrollable with swiping as on phones.
Change-Id: I2118900f0f37fe6714691d1a9c054898cdac8a95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91647
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 12:06:29 +02:00
Jan Holesovsky
351b231d22 mobile, tablet: Disable tooltips when on touch devices.
Change-Id: Ic5cebdcb8c3244643f09131c079a19d8ffd4e701
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91628
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 10:36:56 +02:00
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