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

lack of inline layout responsiveness #2676

Open
karaliunas opened this issue Mar 6, 2023 · 0 comments
Open

lack of inline layout responsiveness #2676

karaliunas opened this issue Mar 6, 2023 · 0 comments

Comments

@karaliunas
Copy link

Expected behaviour

Tell us what should happen.

There should be a way to add styles to text inside table td/th elements. When used inline, appended to flexible container currently it is impossible to style selected days with background circles because style will extend through the width of td element. Our goal is to maintain fixed amount of width (regular circle) and distribute extra space equally between days.
It would be possible to achieve that if we could wrap text inside td elements with span element and add styles to span element, not the td element.

Actual behaviour

Tell us what happens instead.
Styles are added directly to td elements limits ability to manipulate how selected or current day looks

Datepicker version used

1.9.0

Example code

Current situation with used in responsive context - td elements expand and all styles appended to them accordingly.
https://codepen.io/gka/pen/WNgExMX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant