Skip to content

Commit

Permalink
subtract 2px to search box widths
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Nov 15, 2023
1 parent d2bab1d commit 96e878b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/jstreer.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function setShinyValueCheckedNodes(instance, leavesOnly) {
function gridSearchBox(index, id) {
var input =
`<input type="text" placeholder="Search..." name="${index}" value=""` +
`style="width: 100%;" class="${id}-searchField">`;
`style="width: calc(100% - 2px);" class="${id}-searchField">`;
return input;
}

Expand Down

0 comments on commit 96e878b

Please sign in to comment.