Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid row drag handles have incorrect padding in the Fluent theme #4887

Open
IvanDanchev opened this issue Feb 13, 2024 · 0 comments
Open

Grid row drag handles have incorrect padding in the Fluent theme #4887

IvanDanchev opened this issue Feb 13, 2024 · 0 comments
Labels

Comments

@IvanDanchev
Copy link

IvanDanchev commented Feb 13, 2024

Describe the bug

To reproduce
Steps to reproduce the behavior:

  1. Go to 'Drag & Drop demo'
  2. The drag handle icons in the Grid rows are not vertically centered

Expected behavior
The drag handles are centered, like in the same demo but with the Default theme loaded: https://demos.telerik.com/kendo-ui/grid/drag-drop?autoRun=true&theme=default-main

Screenshots

Affected package (please remove the unneeded items)
Fluent theme

Affected suites (please remove the unneeded items)

  • Kendo UI for jQuery

Affected browsers (please remove the unneeded items)

  • All

Build system information (please remove the unneeded items)

  • Not Applicable

Additional context
The issue is caused by the padding-block value in the following CSS rule:

.k-grid .k-hierarchy-cell > .k-icon, .k-grid .k-drag-cell > .k-icon {
    padding-inline: 0;
    padding-block: var(--INTERNAL--kendo-grid-cell-padding-y, 0);
    display: inline-block;
    outline: 0;
}

Setting padding-block to 0px can be used as a workaround:

.k-grid .k-hierarchy-cell > .k-icon, .k-grid .k-drag-cell > .k-icon {
    padding-block: 0px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant