answers-search-ui icon indicating copy to clipboard operation
answers-search-ui copied to clipboard

Facet Component Styling Issues

Open benmcginnis opened this issue 4 years ago • 1 comments

Checkbox & chevron baseline alignment is high by ~ 2px:

Screen Shot 2020-03-31 at 7 58 32 PM

Additionally, the facet component should probably not restrict it's presentation (by setting a width on itself) since it could be used in isolation in a custom layout.

For example this treatment: Screen Shot 2020-03-31 at 8 00 20 PM

Would be very difficult to accomplish with the component as it exists today.

benmcginnis avatar Apr 01 '20 00:04 benmcginnis

Recommendations from design/qa:

.yxt-FilterOptions-option
{
  align-items: center;
  line-height: 1.6;
}

.yxt-FilterBox-titleContainer [data-component="IconComponent"]
{
  line-height: 0; // might want to do this on the IconComponent itself
}

benmcginnis avatar Apr 01 '20 00:04 benmcginnis