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) {
6 REPLIES 6

@June3 

Nope, you can't add font color, bold etc in g_modal

💡 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

@June3 

Thank you for marking my response as helpful.

💡 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