GenSpectrum / dashboard-components

https://genspectrum.github.io/dashboard-components/
GNU Affero General Public License v3.0
2 stars 0 forks source link

feat(components): reduce the smallest size of the date picker in two row design #310

Closed JonasKellerer closed 5 months ago

JonasKellerer commented 5 months ago

resolves #284

Summary

This reduces the smallest size of the datepicker for the two row design. The limit is now 240px. Below that it will be the stacked design. This change was made possible by reducing the size prop of the input component. The size of the Select component was adjusted, so it matches the min-width of the input fields with size 7.

Screenshot

This is now the element, with a width of 240px.

grafik

PR Checklist

- [ ] All necessary documentation has been adapted. - [ ] The implemented feature is covered by an appropriate test.

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dashboard-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 3:24pm
github-actions[bot] commented 5 months ago

This is a preview of the changelog of the next release:

0.5.1 (2024-07-02)

Features

Bug Fixes

JonasKellerer commented 5 months ago

Whats your browser so I can try it as well @chaoran-chen ?

chaoran-chen commented 5 months ago

I am using Chrome.

JonasKellerer commented 5 months ago

@chaoran-chen Could you check again? I could not see what you described in my chrome, but found some other thing which might also fix your issue.