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

Make section height consistent between slides #1312

Closed
vitaut opened this issue Jul 23, 2015 · 9 comments
Closed

Make section height consistent between slides #1312

vitaut opened this issue Jul 23, 2015 · 9 comments

Comments

@vitaut
Copy link

vitaut commented Jul 23, 2015

Currently only the section width is the same between slides while the height varies depending on the content, for example:
screenshot from 2015-07-23 11 28 56

Is it possible to fix section height so that the title appeared at the same vertical position when changing slides and only the content was aligned vertically? Here's an example from Beamer that does exactly this:

1280px-a_modified_latex_beamer_example

@rofrol
Copy link

rofrol commented Jan 21, 2016

My solution #180 (comment)

@vitaut
Copy link
Author

vitaut commented Jan 21, 2016

Thanks, @rofrol, I'll check it out.

@vitaut
Copy link
Author

vitaut commented Jan 24, 2016

@rofrol, This somewhat helps but because the content of each slide is center-justified the result remains pretty much the same:
screenshot from 2016-01-24 13 55 53
and it has interferes with navigation, for example when switching to the next slide the content of the previous one briefly aligns to the top before disappearing.

@rofrol
Copy link

rofrol commented Jan 25, 2016

Just add styles for h2 also. Check this example https://rawgit.com/rofrol/reveal.js/fixed_header/index.html.

Does it work for you?

EDIT: I've change link to branch fixed_header

@vitaut
Copy link
Author

vitaut commented Jan 28, 2016

Thanks, this mostly works although the problem with navigation is still there (the title realigns awkwardly before disappearing when you switch slides).

@rofrol
Copy link

rofrol commented Jan 28, 2016

strange. can you record some demo with sharex?

@vitaut
Copy link
Author

vitaut commented Feb 5, 2016

No idea what sharex is, but I've created this screencast showing the issue: https://youtu.be/VB96r44ow9I . Notice the content of the slide jumping to the top during transitions.

@rofrol
Copy link

rofrol commented Feb 6, 2016

@vitaut
Copy link
Author

vitaut commented Feb 9, 2016

Looks good, thanks!

@vitaut vitaut closed this as completed Feb 9, 2016
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