Automattic / Automattic/jetpack

Shortcodes: Remove margins

Open
#10,485 8 comments 0 reactions 2 assignees Claimed by @crunnells View on GitHub
[Feature] Shortcodes / Embeds [Pri] Low [Status] Auto-allocated [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

With the legacy shortcode on Twenty Nineteen, the defined margins make things look poor.

#### Steps to reproduce the issue

1. Add a recipe shortcode on Twenty Nineteen

#### What I expected
Something like this:
![2018-10-30 at 08 57](https://user-images.githubusercontent.com/88897/47723121-db88b080-dc21-11e8-8f06-e24934418bfd.jpg)

#### What happened instead

![2018-10-30 at 08 57](https://user-images.githubusercontent.com/88897/47723158-ed6a5380-dc21-11e8-8191-0709812e1b6f.jpg)

This is due to the margin set for the `.jetpack-recipe` class `margin: 1.5em 1%`. I'm not terribly sure if this is something we should report and patch in Twenty Nineteen or in Jetpack. Thoughts?

cc: @allancole

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.