Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5941 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,

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

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


Regards

Avatar
Zrušit
Autor

thank you so much cybrosys

Related Posts Odpovědi Zobrazení Aktivita
1
lis 22
4304
0
zář 22
2016
0
srp 23
1773
1
čvn 25
1531
3
čvc 25
3210