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

Weird styles behavior on indented blocks #13

Closed
scriptin opened this issue Feb 9, 2015 · 1 comment
Closed

Weird styles behavior on indented blocks #13

scriptin opened this issue Feb 9, 2015 · 1 comment
Assignees

Comments

@scriptin
Copy link

scriptin commented Feb 9, 2015

Hello! I have an issue here: scriptin/brackets-indent-softwraps/issues/4 which explains the problem.

After investigating, I found a quick fix, but not sure if it's correct. In your CSS you have a declaration display: inline-block;. If I change this to inline (which is default), it gets fixed. I'm not sure if inline-block is really required by your plugin to work properly, but it seems to work fine w/o it.

You can see that for some reason when it is inline-block, it sets width and height to fixed values. If I set display to inline, both width and height have value auto.

Can you change it or am I missing something on my side?

screenshot from 2015-02-10 00 57 39

@couzteau
Copy link
Owner

pushed update. Thanks for finding the issue and providing the fix @scriptin

@couzteau couzteau self-assigned this Feb 10, 2015
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