I'm trying to use SLDS to build a page that allows users to search for products, then see some product details, plus some other info about related records. I'm having some difficulties getting the HTML right and applying the appropriate CSS classes etc. I have the following:
<div class="form-element__group">
<div class="slds-form-element__row">
<div class="slds-size--1-of-2">
<span class="slds-form-element__label">Product Code</span>
<div class="slds-form-element__control">
<span class="slds-form-element__static">{!v.product.ProductCode}</span>
</div>
</div>
<div class="slds-size--1-of-2">
<span class="slds-form-element__label">Product Name</span>
<div class="slds-form-element__control">
<span class="slds-form-element__static">{!v.product.Name}</span>
</div>
</div>
</div>
</div>
...I want it to have two product fields on a single row but the value for the second field ends up on the next line. Have tried a few variations, based on the Lightning Design System around use of read only forms but haven't got it working how I wanted.