Skip to Content
Menu
This question has been flagged
1 Reply
5735 Views

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

Hi,

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

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


Regards

Avatar
Discard
Author

thank you so much cybrosys

Related Posts Replies Views Activity
1
Nov 22
4125
0
Sep 22
1879
0
Aug 23
1632
1
Jun 25
1037
3
Jul 25
2764