javascript - date fields displayed incorrectly on iPhone -
on accommodation tab of this page, there couple of date fields use this datepicker. works fine on desktop browser, when page viewed on iphone dates shown below fields:
incidentally, tried upgrading current (deprecated) datepicker this newer version, didn't work out.
i looked little through code , found out declaration in 1 of css included what's causing problem. seem merge style don't know in 1 (datepicker.css ?), anyway, declaration
.datepicker:before{content:''; display:inline-block;}
is what's causing problem. don't know purpose of in grand scheme, deleting declaration, or changing display
type inline-block
block
, makes right.
try investigate starting there,avoiding break style other browsers working, , understand meaning of inline-block
, since they're present in both .datepicker:before
and .datepicker:after
Comments
Post a Comment