Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5935 Visualizzazioni

How can i add inline css in xml tag? 
<fieldname="date"/>
the css i wanted to add is below 
.o_field_widget.o_datepicker > input {

  1.     padding-right: 25px;

}
i copied this css by inspecting the element for ta date field

Avatar
Abbandona
Risposta migliore

Hi,

You can add the inline css in XML as follows:-

<field name="date" style="padding-right: 25px;"/>


Regards

Avatar
Abbandona
Autore

thank you so much cybrosys

Post correlati Risposte Visualizzazioni Attività
1
nov 22
4299
0
set 22
2012
0
ago 23
1770
1
giu 25
1506
3
lug 25
3199