Closed linchunda closed 5 years ago
你可以自定义 mip-sidebar
的 css,如下
<style mip-custom>
mip-sidebar {
max-width: 50%;
}
</style>
多谢,根据您的提示已经解决 由于你们的css默认 min-width:45px!important;我修改为min-width: 150px!important;
<style mip-custom>
mip-sidebar{min-width: 150px!important;padding: 15px;}
</style>
建议你们的css最小修改为100px;
我用这个组件制作侧边栏菜单,但菜单长度较少时,显示宽度太小,好难看,能设置最小的宽度吗?