Calcite-components: Bug: ColorPicker display is inline by default which makes the height only 19px.

Created on 29 Jun 2021  路  4Comments  路  Source: Esri/calcite-components

Actual Behavior

Bug: ColorPicker display is inline by default which makes the height only 19px.

MicrosoftTeams-image

Expected Behavior

:host {
 display: inline-block;
}

Reproduction Steps or Sample

Can be seen on storybook as well. https://esri.github.io/calcite-components/?path=/story/components-controls-colorpicker--simple

Relevant Info

_Version_: @esri/calcite-components@<version>

  • [ ] CDN
  • [x] NPM package
4 - verified bug

Most helpful comment

@caripizza nope I don't think so, it seems like it was always like this.

I just wanted to make an announcement to the peeps who work on the SCSS files.

We might need to do an audit to make sure that the host has the correct display type for all components.

All 4 comments

cc @julio8a @caripizza We should make sure that all components have the correct display type by default so that their dimensions are correct.

@driskull sorry can you clarify? Was a defect introduced on one of our related refactor prs?

@caripizza nope I don't think so, it seems like it was always like this.

I just wanted to make an announcement to the peeps who work on the SCSS files.

We might need to do an audit to make sure that the host has the correct display type for all components.

Installed!

Was this page helpful?
0 / 5 - 0 ratings