Skip to Content
Menu
This question has been flagged
1 Atsakyti
6011 Rodiniai

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

Portretas
Atmesti
Best Answer

Hi,

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

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


Regards

Portretas
Atmesti
Autorius

thank you so much cybrosys

Related Posts Replies Rodiniai Veikla
1
lapkr. 22
4351
0
rugs. 22
2044
0
rugp. 23
1825
1
birž. 25
1694
3
liep. 25
3320