loikein / hugo-tufte

Content centric Hugo blogging theme styled with Tufte-CSS
https://hugo-tufte.netlify.app
MIT License
64 stars 16 forks source link

Figure in margin note larger and farther away than expected #12

Closed nsbarr closed 1 year ago

nsbarr commented 1 year ago

First of all, thanks for making and maintaining this!

Out of the box, the rhino example (figure inside a margin note) shows up differently than expected. I can work it out with custom CSS, but submitting an issue in case there's something to be fixed here. Not sure why it wouldn't work.

What version of Hugo are you using ($ hugo version)?

hugo v0.117.0-b2f0696cad918fb61420a6aff173eb36662b406e+extended darwin/amd64 BuildDate=2023-08-07T12:49:48Z VendorInfo=brew

What operating system and processor architecture are you using?

Ventura 13.4 M1

What did you do?

Copied and pasted figure from example site

What did you expect to see?

Figure as shown in example site

What did you see instead?

See screenshot

Screenshot 2023-08-20 at 2 19 58 PM
nsbarr commented 1 year ago

I think I've mayve discovered the problem, which has to do with spacing of the {{}} blocks? When there's no line breaks, there's no problem... closing for now, new to this :)