Changes
- Updated both
px-datetime-entry
and px-datetime-entry-cell
to use Math.ceil(length)
due to the inconsistency of rounding widths that include decimals between major browser platforms. (article & example, view in different browsers)
- Added
1
to the calculated width of the px-datetime-entry
since the input number was being cut off in multiple browsers (it was only visible properly in Chrome)
- Cleaned up multiple eslint / formatting errors throughout the
px-datetime-common
files
- Added minor contextual css that only applies to rendering of the
px-datetime-entry
component to "fix" the improper rendering of the icon within the px-datetime-common
demo (icon is rendering full size)
Related issue
predixdesignsystem/px-datetime-field#10