Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
702 Weergaven

Hi All,

I have crated multiple button in CRM module.
but the string of the button is getting break.


see the buttons "Review Compliance" & "Review Risk Management".

"Review Compliance" at button the letter 'p' is getting break at the bottom side.
"Review Risk Management" at button the letter 'g' is getting break at the bottom side.



how can I fix it?

Avatar
Annuleer
Beste antwoord

Hello Vikas Maharana,


You can add the class attribute as follows: class="oe_stat_button py-4".


Please adjust the py- value based on your needs. For example, you can replace it with py-2, py-3, or py-5 to achieve different padding sizes in line with Bootstrap’s attributes.

I Hope this information proves helpful to you.


Thanks & Regards,

Email:  odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

Avatar
Annuleer
Auteur Beste antwoord

I get the solution 

 <button class="oe_stat_button" name="action_review_ddlgnc_template" type="object" icon="fa-search" context="{'field_name':'cell_partner_qstn_ids'}" groups="vendor_management.group_vndr_mgmt_due_dlgnc,vendor_management.group_vndr_mgmt_compliance_head,vendor_management.group_vndr_mgmt_ceo" invisible="state not in ['2','3']">                                

​<div class="o_stat_info">                                    

​<span class="o_stat_text fs-5">Review Cell Partner</span>                                

​</div>                            

</button>  

Inside button create another div with a span tag and your desire font-size.

Avatar
Annuleer
Beste antwoord

Hi,

Include buttons inside div.

<sheet>

                    <div class="oe_button_box" name="button_box">

                             // include your buttons inside this div

                     </div>

</sheet>


Hope it helps

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 25
1078
1
mrt. 25
1205
3
mrt. 25
1976
2
feb. 25
4694
1
feb. 25
1702