5MinuteFinance icon indicating copy to clipboard operation
5MinuteFinance copied to clipboard

Reduce slide header size

Open Matt-Brigida opened this issue 8 years ago • 4 comments

We need to figure out how to reduce the header size for select (not all) slides. This will allow us to display larger apps.

Matt-Brigida avatar Jun 08 '16 15:06 Matt-Brigida

Could you give an example of a slide that needs a reduction in header size. Would the {.smaller} attribute to the header be sufficient? http://rmarkdown.rstudio.com/ioslides_presentation_format.html

nperincherry avatar Jun 08 '16 18:06 nperincherry

For example, in this slide I could add a dividend yield slider if we could shift the app higher on the slide. Now, adding the slider will run it into the logo.

{.smaller} doesn't seem to work, but it is going to be some bit of css.

Matt-Brigida avatar Jun 08 '16 19:06 Matt-Brigida

check the commit I just pushed -- it uses the div() function and allows you to set your own slider size, only problem however is that you need to take the ticks off from underneath the slider to keep it looking clean. I think the only other way to resolve this issue would be to write a custom css, which I don't know how to do, but could certainly learn.

micfm-tutorial avatar Jun 08 '16 19:06 micfm-tutorial

This looks great. I'll add the dividend to the calculation. I'd still like to get rid of that header -- but this is not urgent.

Matt-Brigida avatar Jun 08 '16 20:06 Matt-Brigida