تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5792 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

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

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


Regards

الصورة الرمزية
إهمال
الكاتب

thank you so much cybrosys

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 22
4161
0
سبتمبر 22
1914
0
أغسطس 23
1680
1
يونيو 25
1125
3
يوليو 25
2862