hieroglyph icon indicating copy to clipboard operation
hieroglyph copied to clipboard

All slides content going to the middle

Open AndreaCrotti opened this issue 8 years ago • 9 comments

I'm using hieroglyph==0.7.1

and this is the talk I'm preparing: https://github.com/AndreaCrotti/unix

So the problem is that all the content go down in the middle instead of having the header on top and the rest in the middle. I think it's something to do with style but I tried to rebuild some of my old presentations with the same structure and it doesn't happen.

Any idea about what it could be? To reproduce just checkout that and run "make slides".. thanks a lot, Andrea

AndreaCrotti avatar Aug 24 '15 13:08 AndreaCrotti

I also tried with both Python2 and Python3 but same issue, it must be something silly I'm doing https://raw.githubusercontent.com/AndreaCrotti/unix/master/README.org but can't really see what yet..

AndreaCrotti avatar Aug 24 '15 13:08 AndreaCrotti

As a short answer/workaround

I fixed that in 'mine' version, which isn't pull-requested, due a trip. But I guess you can use it

--albert An iPhone is great, but for typing mail

Op 24 aug. 2015 om 15:11 heeft Andrea Crotti [email protected] het volgende geschreven:

I'm using hieroglyph==0.7.1

and this is the talk I'm preparing: https://github.com/AndreaCrotti/unix

So the problem is that all the content go down in the middle instead of having the header on top and the rest in the middle. I think it's something to do with style but I tried to rebuild some of my old presentations with the same structure and it doesn't happen.

Any idea about what it could be? To reproduce just checkout that and run "make slides".. thanks a lot, Andrea

— Reply to this email directly or view it on GitHub.

AlbertMietus avatar Aug 24 '15 13:08 AlbertMietus

Awesome @AlbertMietus it works! Would be good to understand why as well but for now it's fine I can use this.

AndreaCrotti avatar Aug 24 '15 13:08 AndreaCrotti

Hi Andrea

Will try to go into details later. But can remember it was quite trivial (but it often is, after solving😀)

Better still, it will be merged into mainstream (I guess/assume).

For now, good luck with your presentation

--albert An iPhone is great, but for typing mail

Op 24 aug. 2015 om 15:59 heeft Crotti [email protected] het volgende geschreven:

Awesome @AlbertMietus it works! Would be good to understand why as well but for now it's fine I can use this.

— Reply to this email directly or view it on GitHub.

AlbertMietus avatar Aug 24 '15 20:08 AlbertMietus

Hi @AlbertMietus thanks again.. The only problem now is that the spacing is not enough, see this picture for example

image

There should be a bit more space between the header and the body of each slide, it's a bit too squashed now..

AndreaCrotti avatar Aug 25 '15 15:08 AndreaCrotti

Sorry no time/computer to look into this.

But fiddle a bit with the ccs, probably the H1 and H2 bottom margin or padding.

Foot luck

--albert An iPhone is great, but for typing mail

Op 25 aug. 2015 om 17:29 heeft Andrea Crotti [email protected] het volgende geschreven:

Hi @AlbertMietus thanks again.. The only problem now is that the spacing is not enough, see this picture for example

There should be a bit more space between the header and the body of each slide, it's a bit too squashed now..

— Reply to this email directly or view it on GitHub.

AlbertMietus avatar Aug 25 '15 18:08 AlbertMietus

I sort of suspect the issue has to do with not having a theme set. I don't really recall what Hieroglyph does in that case, but I sort of suspect it'd use the "base" theme that all the others build off of. Haven't looked at @AlbertMietus 's fork recently enough to know if that's consistent with the changes he made there.

nyergler avatar Aug 25 '15 21:08 nyergler

+1 I'm also experiencing this problem. I used the hieroglyph quickstart and threw some random text into a couple slides and the text on all the slides starts from the middle of the page down.

tgarc avatar Feb 18 '16 16:02 tgarc

I also expirience this problem

screenshot from 2018-03-26 16-46-20

I found that this is because of margin-top: 465px added in https://github.com/nyergler/hieroglyph/commit/d2ecf96c73005103a16dbf1ab73ac1a3936c1c74

I have workaround this by adding

h2 {
  margin-top: 0;
}

to the http://docs.hieroglyph.io/en/latest/styling.html#custom-css

vvavrychuk avatar Mar 26 '18 14:03 vvavrychuk