ng-clarity icon indicating copy to clipboard operation
ng-clarity copied to clipboard

Datagrid select all and filter icons are misaligned with the header text when a header cell wraps on multiple lines

Open d3lio opened this issue 2 years ago • 3 comments

Describe the bug

Have a datagrid with multiple selection, a column with sort and filter and another column with a long header text (to span multiple lines). Then the select all checkbox and the filter icon remain to the top of the cells but the text and the sort icon are centered vertically.

Screenshot 2022-06-07 at 17 00 52

How to reproduce

See the description. Can also be reproduced by editing the examples in the documentation to have more header text through the dev tools.

Expected behavior

I would expect they are either all centered or all aligned top.

Versions

Clarity version:

  • [x] v12.x
  • [x] v13.x
  • [ ] Other:

Framework:

  • [x] Angular
  • [ ] React
  • [ ] Vue
  • [ ] Other:

Framework version: Angular 12, 13

Device:

Any

Additional notes

d3lio avatar Jun 07 '22 14:06 d3lio

@colinreedmiller what are your thoughts about it?

bbogdanov avatar Jun 07 '22 14:06 bbogdanov

@colinreedmiller what are your thoughts about it?

I asked Lilia to take a look at this.

colinreedmiller avatar Jun 08 '22 16:06 colinreedmiller

header content alignment The icons and checkbox within the header should be vertically center aligned with the text.

lil-kim avatar Jul 18 '22 22:07 lil-kim

:tada: This issue has been resolved in version 13.10.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Dec 05 '22 16:12 github-actions[bot]

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

github-actions[bot] avatar Dec 20 '22 01:12 github-actions[bot]