I wanted to change the width of .ui-panel for my mobile interface so i did a change inside my media query like this (in css)
.ui-panel{width: 310px !important}
But now when i close it. It shows a hitch when it reach to the point where it ends for 17em
I tried this solution from here: jQuery Mobile panel width
any suggestions ?
When change width of
overlay
orpush
panel, you also have to updatetranslate3d
animation property to match the width. By default panel's width is17em
, and the default animationx
position is-17em
.