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

Ensure the text of select control is aligned on the left #8238

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

Devessier
Copy link
Contributor

Fixes:

image

The regression is due a recent change I made to the SelectControl component: #8125.

The SelectControls get applied text-align: center due to the styles react-datepicker applies to the header component. My grid implementation makes the label take all the available width. I could have let it take an auto width, but I think it's better to set the text-align property and ensure the SelectControl component behaves predictably.

@Devessier Devessier added type: bug scope: front Issues that are affecting the frontend side only labels Oct 31, 2024
@charlesBochet charlesBochet merged commit b3f95d6 into main Oct 31, 2024
15 checks passed
@charlesBochet charlesBochet deleted the fix-select-control-text-centered branch October 31, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: front Issues that are affecting the frontend side only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants