0

enter image description hereI have embedded a visual flow inside a component. On embedding some of the css is not going well and the CSS class is standard on debugging I found that it is because of the class and its properties name slds-form-element__label Is there any way to remove the attribute or the standard behavior of that class from your custom component. CSS is causing the below radio button break as shown in image.

I tried using

.THIS {
}
.THIS .slds-form-element__label {

}

But this doesnt worked

  • what is not going well can you show? – User6670 Mar 20 at 3:50
  • Added the image above – AvengerSF Mar 20 at 4:06
  • you want wer... in one line? – User6670 Mar 20 at 4:27
  • No it should use the default flow CSS .Right now its bold in text and unstructured – AvengerSF Mar 20 at 5:18
0

As to override the CSS , Which was coming as default from the standard VisualFlow+Lightning community I used the component CSS markup with the css class name as the class to be overriden.

.THIS .slds-form-element__label {
    font-weight: normal !important;
    font-size: unset !important;
    padding: inherit !important;
}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.