Skip to Content
Menú
This question has been flagged
1 Respondre
5931 Vistes

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
Descartar
Best Answer

Hi,

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

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


Regards

Avatar
Descartar
Autor

thank you so much cybrosys

Related Posts Respostes Vistes Activitat
1
de nov. 22
4289
0
de set. 22
2008
0
d’ag. 23
1769
1
de juny 25
1488
3
de jul. 25
3181