thuliteio/doks

Figcaption css missing in Doks template

jollydodo opened this issue · 2 comments

Tiny issue that can be fixed quite easily.

This post describes how to use a caption with an image (also visible on the doks documentation)
https://images.gethyas.com/docs/guides/shortcodes/figure/

However, the default Doks template doesn't render the subtext small and italic due to missing css. This is the css that is used on the hyas / doks site:
figure figcaption { margin-top: 0.5rem; font-size: 1rem; font-style: italic; }

I temporarily added this to _custom.css file, but my suggestion is that this should be added to the doks-core folder in components/_images.scss (there is a lot of stuff commented out in that file. So I guess this is a working file?)

h-enk commented

Will be fixed with merging thuliteio/doks-core#80