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

Icon button broken in a Treetable header

Open derkoe opened this issue 4 years ago • 3 comments

When using an icon button in a clr-treetable the button is not shown correctly.

image

derkoe avatar Jul 02 '20 11:07 derkoe

Reason for this seems to be this CSS rule

treetable-host .treetable .treetable-row-scrollable :first-child {
    padding-left: 1.5rem;
}

derkoe avatar Jul 02 '20 11:07 derkoe

A workaround is to add this to your stylesheet

.treetable-host .treetable .treetable-row-scrollable :first-child {
  padding-left: revert;
}

derkoe avatar Jul 02 '20 15:07 derkoe

We love to see contributions, when you already know where the problem is. But I guess in this case another solution is needed, as "revert" is a very new value which is not supported very widely: https://caniuse.com/#search=revert

Wallabeng avatar Jul 20 '20 05:07 Wallabeng

@martinbrom could you please help out on this one ... Is this still reproducible? Can it be closed?

d-m-s avatar May 24 '24 08:05 d-m-s

Fixed with #2215

DaSmid avatar Jun 07 '24 09:06 DaSmid