gristlabs_grist-core/app/client/ui2018
Dmitry S 586b6568af (core) Add viewport meta tag conditionally, and show a toggle for it on small devices.
Summary:
- Enable narrow-screen layout for home page
- Clean up margins/spacing on small-screen home page
- Use "<768" as small-screen condition rather than "<=768".
- Include meta-viewport tag conditionally, off by default.
- Include "Toggle Mobile Mode" option in AccountMenu to toggle it on.
- In a test, add an after() clause to restore window size even when test fails

Test Plan: Only tested manually on iPhone (Safari & FF).

Reviewers: paulfitz

Reviewed By: paulfitz

Subscribers: cyprien

Differential Revision: https://phab.getgrist.com/D2708
2021-01-21 14:54:02 -05:00
..
breadcrumbs.ts (core) Add viewport meta tag conditionally, and show a toggle for it on small devices. 2021-01-21 14:54:02 -05:00
buttons.ts
buttonSelect.ts
checkbox.ts
cssVars.ts (core) Add viewport meta tag conditionally, and show a toggle for it on small devices. 2021-01-21 14:54:02 -05:00
draggableList.ts
editableLabel.ts
IconList.ts
icons.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
links.ts
loaders.ts
menus.ts
modals.ts
pages.ts
search.ts