I am using a third party lightning component in 'lightning Flow' to display dynamic questions. Some checkboxes are getting displayed via that lightning component but their width is set to 100%. I inspected the element in google chrome and found out the below code. The width:100% needs to be commented out to fix the issue.
slds-form-element_stacked:not([class*="slds-size"]), .slds-form_stacked
.slds-form-element:not([class*="slds-size"]), .slds-form_horizontal .slds-
form-element_stacked:not([class*="slds-size"])
{ /* width: 100%; */
flex-basis: 100%; }
How do I add the above code in STYLE class of lightning component to reflect the change?