ela
ela

Reputation: 67

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

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 }

Upvotes: 0

Views: 111

Answers (1)

ela
ela

Reputation: 67

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

Upvotes: 0

Related Questions