You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: