Skip to content

Date picker field style bugs #399

@labrowne

Description

@labrowne

Description

Doing an audit of the react components, and am finding a few mistakes with the date picker that i believe are coming from CSS.

  1. (Pink) The spacing between the left edge of the field and the text is too big. Looks like its about 14-15 px but should be 12 px.
  2. (Green) The button should be 34 px wide (and soon we will be changing that to 32 px wide to make it a square... but for now im told this should match DNA which still says 34 px.)
  3. (Blue) The color of the icon is too dark. it should be gray 700.

Screenshots

Top image is spectrum's combo box (which should look the same as the date picker minus the chevron icon. Bottom is the CSS date picker.
image

Here's the same image with some spaces highlighted corresponding with the feedback above.
image

Environment

  • Spectrum CSS version:
  • Browser(s) and OS(s):

Metadata

Metadata

Assignees

Labels

bugResults from a bug in the CSS implementation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions