Skip to content

Commit

Permalink
fix(shiny-preset): Adjust slider handle size and position to better c…
Browse files Browse the repository at this point in the history
…enter on line and bar
  • Loading branch information
gadenbuie committed Jul 18, 2023
1 parent 625d6d3 commit 80fd327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/builtin/bs5/shiny/ionrangeslider/_rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

.irs-handle {
top: $handle_radius;
top: $handle_radius + 1px;
}

.irs-bar {
Expand Down
2 changes: 1 addition & 1 deletion inst/builtin/bs5/shiny/ionrangeslider/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $handle_color_hover: tint-color($handle_color, 15%) !default;
$handle_border: none !default;
$handle_box_shadow: none !default;
$handle_radius: $top - 10px !default;
$handle_height: 19px !default;
$handle_height: 18px !default;
$handle_width: $handle_height !default;

$bar_color: $component-active-bg !default;
Expand Down

0 comments on commit 80fd327

Please sign in to comment.