jquery mobile - forcing panel open on wider screens

后端 未结 4 499
旧时难觅i
旧时难觅i 2020-12-16 07:39

I\'ve been trying to test my jquery mobile app on multiple devices. I currently have a panel that is opened via swipe or clicking on a \'menu\' button.

However, on

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-16 08:21

    I am facing the problem right now and I found the solution of mJay really useful. However it would be great to use media queries instead, something like this perhaps:

     @media (min-width:35em){
        .ui-panel{
            width:30em;
        }
        .ui-panel-close { width:30em; }
    }
    

提交回复
热议问题