Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Date Picker]: Date picker has 4px margin with cds--form__helper-text class that cause it to be misaligned with other components #11914

Open
2 tasks done
AlessandroPomponio opened this issue Jul 9, 2024 · 0 comments
Labels
bug Something isn't working dev Needs some dev work

Comments

@AlessandroPomponio
Copy link

Description

The issue is partly noticeable when the date picker is next to another component, such as a dropdown:
image

This happens because the components comes with a 4px top margin in the cds--form__helper-text class in the shadow root:

image

Component(s) impacted

Date Picker

Browser

Microsoft Edge

Carbon for IBM.com version

v2.10.0

Severity

Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.

Application/website

ST4SD Registry UI

Package

@carbon/ibmdotcom-web-components

CodeSandbox example

https://web-components.carbondesignsystem.com/?path=/story/components-date-picker--simple

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

@AlessandroPomponio AlessandroPomponio added bug Something isn't working dev Needs some dev work labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev Needs some dev work
Projects
Status: No status
Development

No branches or pull requests

1 participant