Skip to content

Commit

Permalink
visual tweeks - expand/collapse now fill the whole row without any ma…
Browse files Browse the repository at this point in the history
…rgin and the tool buttons are centered
  • Loading branch information
tconfrey committed Nov 14, 2024
1 parent 8aa6d4c commit f3344b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/bt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
3 changes: 2 additions & 1 deletion app/jquery.treetable.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit f3344b1

Please sign in to comment.