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
Vue2-datepicker version: 3.9.0 Vue version: 2.6.12 Browser: Google Chrome
In Google Chrome the datepicker depends on default user agent CSS with vertical-align property on tbody element which defaults to middle. This dependency shoud be avoided to not clash with user defined styles for tables. Also UA styles may change over time. Setting global vertical-align to tables also mangle with the datepicker. For example, my current project has sets baseline on tbody, which breaks aligment fo date cells.
Steps to reproduce
Override vertical-align property on tbody or tr to something other than middle
Vue2-datepicker version: 3.9.0
Vue version: 2.6.12
Browser: Google Chrome
In Google Chrome the datepicker depends on default user agent CSS with
vertical-align
property ontbody
element which defaults tomiddle
. This dependency shoud be avoided to not clash with user defined styles for tables. Also UA styles may change over time. Setting globalvertical-align
to tables also mangle with the datepicker. For example, my current project has setsbaseline
ontbody
, which breaks aligment fo date cells.Steps to reproduce
vertical-align
property ontbody
ortr
to something other thanmiddle
Reproduction Link or Source Code
The code
may have no effect in Google Chrome because it overrides it in
tbody
with own stylesheet andtd
inherits this propery fromtbody
.Expected behavior
Rendering of datepicker does not change
Actual behavior
Date cells change alignment
The text was updated successfully, but these errors were encountered: