Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6109 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
4429
0
set 22
2145
0
ago 23
1901
1
giu 25
1918
3
lug 25
3514