Framework7:如何改变侧面板宽度?

Framework7 : how change side panel width?

我需要在 framework7 中更改侧面板的宽度 ??

https://framework7.io/docs/side-panels.html

只需更改 class 面板的 css。

默认值(在framework7.ios.css中):

.panel {
    z-index: 1000;
    display: none;
    background: #111;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    width: 260px;
    top: 0;
    height: 100%;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
}