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

Margins not applied if group name has text following .className #8

Open
llong opened this issue Jul 9, 2015 · 1 comment
Open

Margins not applied if group name has text following .className #8

llong opened this issue Jul 9, 2015 · 1 comment

Comments

@llong
Copy link

llong commented Jul 9, 2015

First of all thank you very much for creating and sharing this plugin. It's amazingly useful and powerful. Here is just a minor bug that I've come across.

If I use a flexbox flexDirection:row and apply a margin to that row and then duplicate that row the duplicated row will not apply the margins specified in my stylesheet if I keep the auto generated 'row .row copy' group name. To have the margin applied I need to rename the group 'row .row' without the text following the classname. It's a minor inconvenience depending on the number of items in the array but if it were possible to ignore text following the classname in a group or layer and still apply the styling properties it would be nice to quickly see the changes before going through and manually renaming each group/layer.

@PatQ
Copy link

PatQ commented Jul 10, 2015

Not solving the issue, but if the applied "copy" bugs you you're able to turn that off in Sketch's settings (Settings -> Layers -> Rename Duplicated Layers).

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