clayh53 / tufte-jekyll

Minimal Jekyll blog styled to resemble the look and layout of Edward Tufte's books
MIT License
635 stars 206 forks source link

figcaption margin boxes aligning right instead of left #50

Closed mmisiewicz closed 4 years ago

mmisiewicz commented 8 years ago

Fig captions appear to be centered oddly. If there is not enough text to wrap, they are aligning right. It seems to be something to do with a weird margin box. Example:

screen shot 2016-06-19 at 13 07 19 screen shot 2016-06-19 at 13 07 16

It looks like use of figcaption was removed from Tuftecss in this commit: https://github.com/edwardtufte/tufte-css/commit/70326956117d951c5c249b11a4529cea4cb67704

There was also discussion about its use here: https://github.com/edwardtufte/tufte-css/issues/44

The problem seems to be mitigated by using a longer caption that forces wrapping.

clayh53 commented 4 years ago

I think I have fixed this now.