Fix #462 and remove 768px CSS limitation.
This commit is contained in:
parent
76164595fe
commit
af0f2d235b
9 changed files with 49 additions and 39 deletions
|
|
@ -123,18 +123,18 @@ $animation_speed: .3s !default;
|
|||
&.grid-stack-animate .grid-stack-item.grid-stack-placeholder{
|
||||
@include vendor(transition, left .0s, top .0s, height .0s, width .0s);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.grid-stack-item {
|
||||
position: relative !important;
|
||||
width: auto !important;
|
||||
left: 0 !important;
|
||||
top: auto !important;
|
||||
margin-bottom: $vertical_padding;
|
||||
|
||||
.ui-resizable-handle { display: none; }
|
||||
}
|
||||
|
||||
.grid-stack { height: auto !important; }
|
||||
|
||||
&.grid-stack-one-column-mode {
|
||||
height: auto !important;
|
||||
&> .grid-stack-item {
|
||||
position: relative !important;
|
||||
width: auto !important;
|
||||
left: 0 !important;
|
||||
top: auto !important;
|
||||
margin-bottom: $vertical_padding;
|
||||
max-width: none !important;
|
||||
|
||||
&> .ui-resizable-handle { display: none; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue