Skip to content
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

Slide page numbers aren't positioned correctly #1

Open
aspiers opened this issue Apr 10, 2016 · 2 comments
Open

Slide page numbers aren't positioned correctly #1

aspiers opened this issue Apr 10, 2016 · 2 comments

Comments

@aspiers
Copy link

aspiers commented Apr 10, 2016

This is an unfortunate side-effect of how reveal.js places slide page numbers in a separate <div> which is a sibling of the <div class="slides">. The latter gets dynamically resized via Javascript, so AFAICS the only way to correctly position the page number <div> relative to that is to set up a Javascript event handler which will also update the page number <div> to the same scaling ... but so far I didn't manage to find any reveal.js event/hook which would get called after resizing.

So it might require a pull request to reveal.js.

@fghaas
Copy link

fghaas commented Apr 10, 2016

Or you just drop slide numbers, which are evil anyway and serve zero purpose.

@aspiers
Copy link
Author

aspiers commented Apr 10, 2016

Let's agree to disagree on that ;-) As mentioned by email, they are very useful for "deeplinking" in voice conversations, at very least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants