简体   繁体   中英

How to force Showoff to not add a margin-top to the .content div

Scott Chacon's Showoff gem is a great alternative to Powerpoint/Keynote... but the fact that it always centers content vertically is annoying. Sometimes you want to force content to the top of the slide. Additionally, there seems to be a bug in that incremental content with images isn't considered when calculating margin-top, which results in incremental content ending up off the bottom of the slide.

Is there a way to force Showoff to not add a margin-top value to the .content div? It is done at the element level, so you aren't able to override with css file.

应用此提交中的补丁并将固定顶部添加到相关幻灯片是一个合适的解决方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM