From 366c59994f9ff7d1fcf162be0079258f2c5bb9a6 Mon Sep 17 00:00:00 2001 From: chrysn Date: Sun, 24 May 2020 06:42:06 -0400 Subject: [PATCH 1/1] Report from troulble editing a page from mobile --- ...esponsive__95__layout_does_not_workin_in_edit_mode.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/bugs/responsive__95__layout_does_not_workin_in_edit_mode.mdwn diff --git a/doc/bugs/responsive__95__layout_does_not_workin_in_edit_mode.mdwn b/doc/bugs/responsive__95__layout_does_not_workin_in_edit_mode.mdwn new file mode 100644 index 000000000..bd2a861a1 --- /dev/null +++ b/doc/bugs/responsive__95__layout_does_not_workin_in_edit_mode.mdwn @@ -0,0 +1,7 @@ +The responsive_layout option (which flags ikiwiki pages as not broken on small displays) is not applied in edit mode (or other CGI generated pages). + +This can be verified easily by checking the meta tags in the pages's source or using Firefox's page info (Ctrl-i), which contains a `width=device-width, initial-scale=1` viewport option in rendered pages but not the editing. + +As a result, page editing from mobile is tedious, as it involves scrolling around not only in the edit window but also the scrolled page as a whole. + +I've given it a try with a local copy of a saved page into which the meta was edited, and the page could be edited much more smoothly on mobile when the meta was set on the edit page (as was expected -- it works well on the regular pages, after all). There was still some scrolliness due to the large width of the commit message field, but that could be a bug in the used theme and even so does not limit the usefulness of setting this on *all* generated pages as long as the theme is basically responsive. -- 2.39.5