input value is not picking any style & margin under paper-input-container

111 Views Asked by At

input value is not getting aligned in under paper-input-container. while debugging it is displaying under #shadow-root inside

     <iron-input slot="input"> 
           <slot id="content"> <input> </slot>
     </iron-input>

I tried adding text-align attribute under paper-input. like

     --paper-input-container-input:{
         text-align:center;
         margin-right : -30px;
     }

The code for search-box is like

     <oe-input label = "search" value = "{{text}}"></oe-input>

It is aligning it to center, but margin-right is not working. I tried styling input directly like

     input{ all: inherit }
1

There are 1 best solutions below

0
ela On

has to modify --paper-input-container-input-focus