Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5934 Vues

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
Ignorer
Meilleure réponse

Hi,

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

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


Regards

Avatar
Ignorer
Auteur

thank you so much cybrosys

Publications associées Réponses Vues Activité
1
nov. 22
4299
0
sept. 22
2012
0
août 23
1770
1
juin 25
1506
3
juil. 25
3199