How to adjust the font size in the function g_modal.setFields

June3
Tera Contributor

I use below function in the client script part of a form action, but I think the font in the pop out window is too small, how can I adjust the font size of the content in the pop out window generated through this function

 g_modal.showFields({
                    title: title,
                    fields: fields,
                    size: 'lg'
                })
                .then(function(values) {
3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@June3 

you can try to adjust the size attribute as per docs and see if that helps

Other than this I don't think you can play around with something

AnkurBawiskar_0-1762845747013.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

I did use this attribute and sets it as lg value, but still too small

@June3 

then you can't do much here and it seems like an OOTB platform limitation.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader