How to decrease system font size

Hi everyone,

I have taken frappe cloud service.

You can see in the attached pic font size is big, item names, sales order id are not completely visible.

Is there a way to make font size smaller so that more information is visible.

Regards

Hi @rahul2,

If you have only one doctype, it is easily achievable.

Please apply the listview client script.

frappe.listview_settings['Work Order'] = {
    refresh: function(listview) {
        $('.level.list-row').css('font-size', 'smaller');
    }
};

Thank You!

1 Like

Hey mate, create a custom “Print Style” and assign it as default from print settings.

In print style modify your h1, h2, … , h6 font sizes as well as p, a, li

They will apply system wide.

Thanks, I applied this and it worked.

This proved to be really nice trick :+1:
Setting are now applied system wide.