fix: spacing between group by label

This commit is contained in:
sokumon 2026-04-21 01:13:13 +05:30
parent c8e0a89b1c
commit 249adb0680

View file

@ -431,7 +431,9 @@ frappe.ui.GroupBy = class {
this.get_group_by_field_label(),
])
: __("Add Group");
if (group_by_applied) {
this.group_by_button.find(".button-label").css("gap", "4px");
}
this.group_by_button
.toggleClass("btn-default", !group_by_applied)
.toggleClass("btn-primary-light", group_by_applied);