Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
5943 Ansichten

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
Verwerfen
Beste Antwort

Hi,

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

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


Regards

Avatar
Verwerfen
Autor

thank you so much cybrosys

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Nov. 22
4304
0
Sept. 22
2016
0
Aug. 23
1773
1
Juni 25
1531
3
Juli 25
3211