Closed jtleek closed 3 years ago
Do you like this split page or would you prefer just one column?
On Mon, Dec 28, 2020 at 6:45 AM Jeff L. notifications@github.com wrote:
If you change the above line to:
It looks like you get a sticky left column - which is nice if you have more extensive text on the right.[image: Untitled_ Dec 28, 2020 9_41 AM] https://user-images.githubusercontent.com/1571674/103221649-1e716c00-48f1-11eb-90f4-7ced21e2331c.gif
I'm probably going to use this on my site, not sure if you want to include it in the trestles template. I can send a PR if you want to.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seankross/postcards/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4JJKVITHFL3GEGEOYGZLSXCKXJANCNFSM4VMDN2XA .
I like it how it is actually. I have it set up on my site: http://jtleek.com/
Jeff how did you make this gif?
Hey @jtleek try installing remotes::install_github("seankross/postcards#27")
and let me know if that works better for you. (See #27)
https://github.com/seankross/postcards/blob/4510004424d8610d7d45c74fc2cc3fc8d4338348/inst/pandoc_templates/trestles.html#L37
If you change the above line to:
<div class="d-flex flex-col col-5 align-self-baseline sticky-top min-vh-100 border-right text-center">
It looks like you get a sticky left column - which is nice if you have more extensive text on the right.I'm probably going to use this on my site, not sure if you want to include it in the trestles template. I can send a PR if you want to.