You need to sign in to do that
Don't have an account?
Arun A
Lightning Design System not rendering the ordered-list of html
Lightning Design System is not rendering the ordered-list of html. Is it a bug?
=================================================================================
WITH CSS
<aura:component >
<ltng:require styles="/resource/SLDS090/assets/styles/salesforce-lightning-design-system.css" />
<ol >
<li>red</li>
<li>green</li>
<li>blue</li>
</ol>
</aura:component>
============================================================================
WITHOUT CSS
<aura:component >
<ol >
<li>red</li>
<li>green</li>
<li>blue</li>
</ol>
</aura:component>
=================================================================================
WITH CSS
<aura:component >
<ltng:require styles="/resource/SLDS090/assets/styles/salesforce-lightning-design-system.css" />
<ol >
<li>red</li>
<li>green</li>
<li>blue</li>
</ol>
</aura:component>
============================================================================
WITHOUT CSS
<aura:component >
<ol >
<li>red</li>
<li>green</li>
<li>blue</li>
</ol>
</aura:component>
You need to use slds-text-longform style class like this:
see here: https://www.lightningdesignsystem.com/components/utilities/text/#overview
This renders the same as if type isn't specified, but works as expected outside of lightning