-
Notifications
You must be signed in to change notification settings - Fork 827
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
Tree component nodes not indented under Lightning Components CSS #91
Comments
Hi @pfronczak - do you have any other resets or CSS that could be affecting it? I'm guessing it's a bug in the scoped file, but if you could inspect to see what's wiping that indention out, it would be helpful in fixing it. Cheers! |
Hi, I don't have any other resets or CSSs - it's a pure SLDS setup. .slds-nested .slds-tree__branch > .slds-tree__item {
padding-left: 2.5rem;
} And this is the equivalent rule in the scoped CSS: .slds-nested .slds .slds-tree__branch > .slds .slds-tree__item {
padding-left: 2.5rem;
} The order of the classes doesn't seem right - the element with Hope this will help you get to the bottom if this. Cheers, |
Same issue here. |
We have this issue when using the salesforce-lightning-design-system-vf.min.css files in v1.0.0 I'm trying to find the fix for this - I see it was closed only 14 hours ago, but I don't see any commits in any of the branches, so I'm wondering if it's was closed accidentally or the fix is in a private branch? |
+1 ! Don't see any fix for this. |
Merci @kaelig :) |
Thank you for noticing this. The issue was closed accidentally via our private repository in which we applied the fix. Stay tuned... |
Thank you for your patience, this was just fixed in the latest version of the Lightning Design System! See full release notes: https://www.lightningdesignsystem.com/release-notes/ |
There seems to be a problem with indenting tree nodes when the Lightning Components CSS (
salesforce-lightning-design-system-ltng.css
) is used.I've put the sample tree component into a Lightning application and this is the result:
By contrast, only changing the CSS to
salesforce-lightning-design-system.css
for the same markup results in correct layout:.
I'm using version 0.11.0 of the design system with the latest Chrome (46.0).
The text was updated successfully, but these errors were encountered: