Repository navigation
Show slide number pill when the sidebar is hidden - #3339
Open
RobinLassonde wants to merge 1 commit into
Open
RobinLassonde wants to merge 1 commit into
RobinLassonde wants to merge 1 commit into
Conversation
When an instructor presents slides with the table-of-contents sidebar collapsed (for example, to maximize screen space), students following along on their own devices have no way to see which section or slide number is currently being presented. Add a compact floating pill in the bottom-right corner that displays the active section number (e.g., `81.8`) whenever the sidebar is hidden on numbered pages. Clicking the pill reopens the sidebar, and the pill stays hidden when the sidebar is visible, on unnumbered pages, in the speaker notes popup, and when printing.
Author
Collaborator
|
Why on the right, rather than on the left where the sidebar appears? |
Author
Mostly just following the standard slide deck convention (slide numbers in the bottom-right) and keeping it away from left-aligned code blocks where there's plenty of empty space. (It's also set up with inset-inline-end so it mirrors to the left for RTL languages). Open to moving it to the left if you think that feels more intuitive next to the sidebar toggle, though! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When an instructor presents slides with the table-of-contents sidebar collapsed (for example, to maximize screen space), students following along on their own devices have no way to see which section or slide number is currently being presented.
Add a compact floating pill in the bottom-right corner that displays the active section number (e.g.,
81.8) whenever the sidebar is hidden on numbered pages. Clicking the pill reopens the sidebar, and the pill stays hidden when the sidebar is visible, on unnumbered pages, in the speaker notes popup, and when printing.