Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5950 Prikazi

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

Hi,

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

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


Regards

Avatar
Opusti
Avtor

thank you so much cybrosys

Related Posts Odgovori Prikazi Aktivnost
1
nov. 22
4307
0
sep. 22
2018
0
avg. 23
1775
1
jun. 25
1543
3
jul. 25
3214