diff --git a/frappe/public/js/frappe/list/list_view.js b/frappe/public/js/frappe/list/list_view.js index e3d236ad21..a96219d632 100644 --- a/frappe/public/js/frappe/list/list_view.js +++ b/frappe/public/js/frappe/list/list_view.js @@ -997,7 +997,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList { * If the length of the text is not available, it defaults to a length of 22.5. */ let textLength = $(column_html).text()?.trim()?.length || 22.5; - let calculatedWidth = (textLength * 10) / 1.3; + let calculatedWidth = (textLength * 10) / 1.3 + (col.type == "Subject" ? 30 : 0); /** * Updates the `column_max_widths` object by setting the maximum width for a specific column (fieldname). diff --git a/frappe/public/js/frappe/ui/page.html b/frappe/public/js/frappe/ui/page.html index fc98f8d33e..7bc39be3d2 100644 --- a/frappe/public/js/frappe/ui/page.html +++ b/frappe/public/js/frappe/ui/page.html @@ -52,7 +52,7 @@
-