Since the stacktrace is lost in a lot of old dependencies (bootstrap tour + prototypejs), I think the best solution to go with is just to add a "zoom" listener that hides or shows the tour depending on the current screensize in px. Pretty much check https://github.com/xwiki/xwiki-platform/blob/ae4f4e1b3b694e0b88df9f133a2acd967f8940f4/xwiki-platform-core/xwiki-platform-tour/xwiki-platform-tour-ui/src/main/resources/TourCode/TourJS.xml#L418L416-L420L418 live.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.