Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5948 Weergaven

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
Annuleer
Beste antwoord

Hi,

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

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


Regards

Avatar
Annuleer
Auteur

thank you so much cybrosys

Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 22
4307
0
sep. 22
2017
0
aug. 23
1775
1
jun. 25
1543
3
jul. 25
3213