one-column mode for small devices

This commit is contained in:
Pavel Reznikov 2014-11-17 00:04:06 -08:00
commit b92f6a02da
2 changed files with 77 additions and 6 deletions

View file

@ -128,3 +128,17 @@
.grid-stack-item[data-gs-y="17"] { top: 1360px; }
.grid-stack-item[data-gs-y="18"] { top: 1440px; }
.grid-stack-item[data-gs-y="19"] { top: 1520px; }
@media (max-width: 768px) {
.grid-stack-item {
position: relative !important;
width: auto !important;
left: 0 !important;
top: auto !important;
margin-bottom: 20px;
}
.grid-stack {
height: auto !important;
}
}