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

Padding all 4 sides #5

Open
directcuteo opened this issue May 6, 2021 · 1 comment
Open

Padding all 4 sides #5

directcuteo opened this issue May 6, 2021 · 1 comment

Comments

@directcuteo
Copy link

Is your feature request related to a problem? Please describe.
I would like to have the option to add padding around the entire block because now the name of the parent block is behind the child block, so I would like to move the name top left (which is possible with CSS only) and then add padding to the child block, so the parent's name is visible.

Describe the solution you'd like
Right now the padding is added only to the bottom side, I would like to have the option to add padding to all 4 sides.
(I could also try to modify this and submit a PR if that works)

Thank you!

@vasturiano
Copy link
Owner

@directcuteo currently the padding property is fully symmetrical, the same amount gets added to all 4 sides of each rectangle. Are you observing a different behaviour? If so, would you mind making a simple example on https://codepen.io/?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants