0
我正在试图让.gridster-mobile
课保持高度。由于高度被设置为空字符串,因此当前在移动时忽略min_size[0]
。如何使用角栅格保持高度?
我,我只设置了所有的高度与媒体查询一个临时的解决办法:
@media (max-width: 500px) {
.gridster-item{
height:120px !important;
}
}
,这是gridster设置:
isMobile: false, // stacks the grid items if true
mobileBreakPoint: 600, // if the screen is not wider that this, remove the grid layout and stack the items
mobileModeEnabled: true,
如何时保留行高度手机模式?