Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Space after images #377

Closed
tunix opened this issue Apr 23, 2021 · 1 comment
Closed

[BUG] Space after images #377

tunix opened this issue Apr 23, 2021 · 1 comment
Labels
resolved Resolved Issue/Question

Comments

@tunix
Copy link

tunix commented Apr 23, 2021

Describe the bug

When an image is placed inside the content, there seems to be no margin/padding added by default which causes the image be very close to the paragraph underneath.

  • Device/Os: Ubuntu 20.10
  • Type: Desktop
  • Browser and version: Firefox 88.0
  • Hugo Version: hugo v0.83.0-DEV-243951EB+extended linux/amd64 BuildDate=2021-04-22T17:07:16Z
  • Theme Version: master (commit: fb0393f)

Steps to reproduce the behavior:

Place the following code piece before a paragraph:

{{< figure src="path/to/image.png" >}}

Expected behavior:

A default margin/padding should be applied to the image.

Screenshots

image

@tunix tunix added the bug Something isn't working label Apr 23, 2021
@kdkasad
Copy link
Contributor

kdkasad commented Apr 24, 2021

I checked and this wasn't introduced by my changes in #247, so it's up to @adityatelange whether he wants to change the style.

@adityatelange adityatelange added resolved Resolved Issue/Question and removed bug Something isn't working labels Apr 29, 2021
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this issue Feb 21, 2023
- adds space below when using figure shortcode

Fixes: adityatelange#377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved Resolved Issue/Question
Projects
None yet
Development

No branches or pull requests

3 participants