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

ext-table indentation should be though padding-left instead of margin-left? #460

Closed
bpromasmb opened this issue Jul 1, 2015 · 1 comment

Comments

@bpromasmb
Copy link

I have a tree table using bootstrap skin and I noticed that selected nodes (non-root ones) had the blue background color bleed through the borders of the table container, as shown in the image .

bleed
(I made the borders black for better visibility)

Looking through the html I noticed that when using the table ext the tree structure is different, instead of being an <li>, each node is a <td> and so the indentation is done by incrementing the element's margin-left attribute by the configured indentation. The usage of margin-left for this seemed strange to me and so I tried manually changing it to padding-left and achieved success with the element no longer bleeding past the borders.

versus

@mar10
Copy link
Owner

mar10 commented Jul 5, 2015

thanks, I'll give it a try...

@mar10 mar10 closed this as completed in 88cd76b Jul 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants