This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 194
Summary should be visible from start #22
Labels
Comments
Summary is hidden by default so that it works well on mobile. We can maybe make a mix of both solutions to avoid flashing on mobile and desktop. |
This is actually already taken care of in the function init() {
// Init last state if not mobile
if (!platform.isMobile()) {
toggleSidebar(gitbook.storage.get('sidebar', true), false);
}
// ... |
Re-opening issue since @jpreynat misunderstood the issue :) |
Do we have an update on this? It is quite an ugly glitch that would be easy to fix. |
This was referenced Aug 7, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, the Summary is hidden at start (CSS property
left: -300px
), and then is displayed through JavaScript.We could do the other way around. The Summary would be visible from the start and hidden with JavaScript if needed.
This would have two advantages:
The text was updated successfully, but these errors were encountered: