You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may seem like a trivial issue for users of the nunjucks templates - but when working on ports (e.g. using CSSinJS or CSS modules) it is useful for one component/template to not have to have knowledge of the inner workings of another.
The text was updated successfully, but these errors were encountered:
penx
changed the title
Add width prop to error
Add width prop to input
Jan 21, 2019
penx
changed the title
Add width prop to input
Add width param to input
Jan 21, 2019
We triaged this with the team and decided that if we were going to do this, the same changes should be done across the board on all our macros and the change should be documented. The effort assigned reflects this.
Similar to #1150, at the moment, date-input passes a CSS class to input when it wants to change the width:
I propose that an 'width' param is added to input, that can be an integer within a given set, for the same reasons as #1150.
e.g. in
input/template.njk
:before:
after:
And changing the date-input examples as follows:
before:
after:
This may seem like a trivial issue for users of the nunjucks templates - but when working on ports (e.g. using CSSinJS or CSS modules) it is useful for one component/template to not have to have knowledge of the inner workings of another.
The text was updated successfully, but these errors were encountered: