From f3344b105178fcd1179929d4cf0a0c631789afca Mon Sep 17 00:00:00 2001 From: tconfrey Date: Thu, 14 Nov 2024 15:39:16 -0500 Subject: [PATCH] visual tweeks - expand/collapse now fill the whole row without any margin and the tool buttons are centered --- app/bt.js | 2 +- app/jquery.treetable.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/bt.js b/app/bt.js index afa0217..8bb21c7 100644 --- a/app/bt.js +++ b/app/bt.js @@ -1341,7 +1341,7 @@ function buttonShow(e) { // detach and center vertically on new td $("#buttonRow").detach().appendTo($(td)); const offset = $(this).offset().top; - const rowtop = offset + ($(this).hasClass('branch') ? 3 : 2); + const rowtop = offset + 2; // figure out if tooltips are on and would go off bottom const tooltips = configManager.getProp('BTTooltips') == 'ON'; diff --git a/app/jquery.treetable.css b/app/jquery.treetable.css index b34237f..7237801 100644 --- a/app/jquery.treetable.css +++ b/app/jquery.treetable.css @@ -22,7 +22,7 @@ table.treetable td.right { width: 50%; max-width: 0px; cursor: default; - padding: 3px 1px; + padding: 2px 1px; background-color: var(--btNoteBackground); font-size: var(--btNoteFontSize); font-weight: var(--btNoteFontWeight); @@ -111,6 +111,7 @@ table.treetable td.dropOver-pulse { table.treetable td.left { width: 50%; max-width: 0px; + padding: 0px 1px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;