+ Start a Discussion

Unable to customize the width of Owner inputField when lightningStyleSheets is set to true

We are trying to migrate our visualforce pages to lightning by setting lightningStyleSheets = "true". We have a pageblocksection with two columns in the vf page. One of the fields in the left side of this section is the Owner field and we are using the apex:inputField tag for it. The Owner field became unusually long when we added  lightningStyleSheets = "true" to the apex:page tag, and it has widened the left side of the section and narrowed the right side of the section. We added the following styleClass to reduce the width of the Owner field but it isn't working. The styleClass worked when we removed the lightningStyleSheets attribute though.
    .FieldWidth input{

Please let me know if there are any work-arounds for this? Thanks.