For older versions, I have no difficulty overriding the default CSS behaviour of Clarity Design form controls to use 100% of the parent width.
With the 4.0 version, I can't even set style="width: 100%"
on Chrome Inspector for clr-input-container
and all child elements (clr-control-container
, clr-input-wrapper
, input
).
Anyone have luck trying to make the input elements of Clarity Design 4.0 fit 100% width?
You can use
clr-*
class to apply styling on input. For example,take a look at this stackblitz.