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

[Enhancement] Ability to define [left center right] for padding with [width=] or [top middle bottom] for [height=] #60

Open
JesseBilsten opened this issue Mar 2, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@JesseBilsten
Copy link

Feature request / enhancement

Current functionality seems to be that the other layers in the group are centered based on the size of the background.

Would like the ability to have the background resize to the left, right or center based on width.
And the ability to have the background resize up, down or middle based on height.

@DWilliames
Copy link
Owner

Great idea @JesseBilsten.

@DWilliames DWilliames added the enhancement New feature or request label Mar 10, 2018
@thaWeeDz
Copy link

An addition.
If no specific resize rule is given, the background should stay where it is, only respecting the padding rules, wrapping around the items. The example animations show this behaviour, but the latest version seems to resize the the background around the items, leaving equal (css margin:auto) space around the inner items.

@JesseBilsten
Copy link
Author

JesseBilsten commented Mar 28, 2018 via email

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

No branches or pull requests

3 participants