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,
ときの行の高さを維持する方法モバイルモード?