css - How to set width of paper-textarea in Polymer 1.0? -


does knows how set width of paper-textarea? using css selectors in polymer 1.0 style tags seems not work @ all. paper-textarea element composed paper-input-container. tried following:

<style>   paper-textarea + paper-input-container {     min-width: 324px;     width: 324px;     margin-right: 24px;   }   paper-textarea > paper-input-container {     min-width: 324px;     width: 324px;     margin-right: 24px;   }   paper-textarea paper-input-container {     min-width: 324px;     width: 324px;     margin-right: 24px;   } </style> 

neither of css selectors above worked in custom element.

<style>     :root {         --paper-input-container: {             min-width: 324px;             width: 324px;             margin-right: 24px;         };     } </style> 

will trick. style every polymer element makes use of paper-input-container (like paper-textarea) above width , margin.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -