fix(ui): tree level input spacing in reports (#37955)

This commit is contained in:
Nikhil Kothari 2026-03-12 16:04:53 +05:30 committed by GitHub
parent f348158347
commit 8a1d087af3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2264,8 +2264,8 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
if (this.tree_report) {
this.$tree_footer = $(`<div class="tree-footer col-md-3">
<div class="input-group">
<input id="tree-level" type="number" class="form-control" aria-label="Tree Level" value="2">
<button class="btn btn-xs btn-secondary" data-action="set_tree_level">
<input id="tree-level" type="number" class="form-control" style="width: 60px; border-right: 1px solid var(--border-color);" aria-label="Tree Level" value="2">
<button class="btn btn-xs btn-secondary" style="border-top-left-radius: 0px; border-bottom-left-radius: 0px;" data-action="set_tree_level">
${__("Set Level")}</button>
<button class="btn btn-xs btn-secondary" data-action="expand_all_rows">
${__("Expand All")}</button>