New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TOC can only get five items to appear... #90
Comments
I figured this one out. In addition to modifying the index.html file, you also need to adjust the nav.css stylesheet and add width to the body.body-toc-ios on line 297. |
does it work in landscape and portrait? |
I just have my publication set for landscape only and it works there, but I don't know about for portrait. |
I can't fix this issue. I also changed index.html line 21 to: <meta name="viewport" content="width=7790, height=197, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> If I do this, the ToC scrolls horizontally, which is fine. But it also scrolls vertically, which is wrong. |
@tonyrh I just ran Laker for the first time, but I think I found a solution for the wrong display of the ToC. Just remove the width at line 21 inside index.html: This worked for me. Hope it helps you out, too. Reason might be the updated Baker 4.0 Framework. I checked the index.html inside their sample HPub »a-study-in-scarlet«, in which the ToC looks perfect. There is no width specified. |
@timpelx Thanks but removing the width inside index.html does not solve the issue for me. |
@tonyrh To solve the problem open nav.css and add height: 197px; Line 297: body.body-toc-ios { It works for me. |
@sacotu Thanks, but this does not solve the issue, at least for me.
Does your fix work if you try this? |
@tonyrh Like this one? See the arrow. |
@sacotu yes something like that. Sometimes (after closing* and re-launchig app) the nav menu becomes vertically scrollable. *quitting the app, not just putting it in background. |
anyone found a solution to this yet? |
1 similar comment
anyone found a solution to this yet? |
I'm getting the same issue. |
I didn't have any issues implementing the additional ToC's. Currently I have 7 so I changed the width in this line in index.html:
And I did some inline CSS also in the index.html:
I've tested on iPhone 4s and iPad 2. Works just fine. Also, my magazine is set for portrait only. |
I have modified the width of the content on line 21 in the index.html toc file, but no matter what size I change it to, I can't get more than 5 items to appear in the TOC. Any help would be appreciated.
TIA
The text was updated successfully, but these errors were encountered: