Skip to content

Commit 13d28e0

Browse files
authored
Merge pull request #6111 from inception-project/bugfix/6110-Position-of-resize-grips-in-left-and-right-sidebar-dividers-is-slightly-off
#6110 - Position of resize grips in left and right sidebar dividers is slightly off
2 parents 67f99ef + 7ad9d3b commit 13d28e0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

inception/inception-support-bootstrap/src/main/ts/bootstrap/_shim-kendo.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@
4242
background-color: var(--bs-secondary-border-subtle) !important;
4343
}
4444

45+
// Kendo positions the resize handle (grip) at its static position, which leaves it
46+
// flush against one edge of the splitbar instead of centered across the bar's width.
47+
// Pin it to the center of the cross-axis so the grip sits in the middle of the divider.
48+
.k-splitbar-horizontal .k-resize-handle {
49+
left: 50% !important;
50+
right: auto !important;
51+
transform: translateX(-50%) !important;
52+
}
53+
54+
.k-splitbar-vertical .k-resize-handle {
55+
top: 50% !important;
56+
bottom: auto !important;
57+
transform: translateY(-50%) !important;
58+
}
59+
4560
// Adjust the Kendo dropdowns (i.e. the combo box) to use less vertical space and be more in line
4661
// with the other Bootstrap inputs
4762
.k-dropdown-wrap {

0 commit comments

Comments
 (0)