Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 3fac24a

Browse files
Grid: Only make grids responsive when class ui-responsive is added to the grid container.
This matches the documentation and pevents conflicts with widgets that also repond to this class.
1 parent feab6bc commit 3fac24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/structure/jquery.mobile.grid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
/* preset breakpoint to switch to stacked grid styles below 35em (560px) */
6060
@media (max-width: 35em) {
61-
.ui-responsive [class*="ui-block-"] {
61+
[class*="ui-grid-"].ui-responsive > [class*="ui-block-"] {
6262
width: 100%;
6363
float: none;
6464
}

0 commit comments

Comments
 (0)